Skip to content

Fix: alias Mutex::Protection as Sync::Type [fixup #16737]#16759

Merged
ysbaddaden merged 2 commits intocrystal-lang:masterfrom
ysbaddaden:fix/alias-mutex-protection
Mar 19, 2026
Merged

Fix: alias Mutex::Protection as Sync::Type [fixup #16737]#16759
ysbaddaden merged 2 commits intocrystal-lang:masterfrom
ysbaddaden:fix/alias-mutex-protection

Conversation

@ysbaddaden
Copy link
Copy Markdown
Collaborator

@ysbaddaden ysbaddaden commented Mar 19, 2026

As outlined in #16751 (comment) I accidentally removed Mutex::Protection in #16737 🤦

Also fixes the deadlock exception message for the rwlock.

closes #16758

@ysbaddaden ysbaddaden self-assigned this Mar 19, 2026
@ysbaddaden ysbaddaden added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:concurrency labels Mar 19, 2026
@ysbaddaden
Copy link
Copy Markdown
Collaborator Author

Quick-merge of quick-fix to fix nightly :)

@ysbaddaden ysbaddaden merged commit f4c2f0a into crystal-lang:master Mar 19, 2026
50 checks passed
@ysbaddaden ysbaddaden deleted the fix/alias-mutex-protection branch March 19, 2026 16:46
@straight-shoota straight-shoota added the kind:regression Something that used to correctly work but no longer works label Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:bug A bug in the code. Does not apply to documentation, specs, etc. kind:regression Something that used to correctly work but no longer works topic:stdlib:concurrency

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error: undefined constant Mutex::Protection::Reentrant

2 participants