Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Box(T?) crashing on nil #13893

Merged
merged 2 commits into from
Oct 18, 2023
Merged

Conversation

HertzDevil
Copy link
Contributor

Fixes #11839. (This Reference? check has recently been used in Atomic as well.)

@straight-shoota straight-shoota added this to the 1.11.0 milestone Oct 16, 2023
@straight-shoota straight-shoota merged commit 21c55ff into crystal-lang:master Oct 18, 2023
52 of 55 checks passed
@HertzDevil HertzDevil deleted the bug/box-nil branch October 18, 2023 10:28
Blacksmoke16 pushed a commit to Blacksmoke16/crystal that referenced this pull request Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Box(T).unbox crashes if T is a nilable union type
3 participants