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

Never discard ivar initializer inside .allocate and .pre_initialize #14337

Merged

Conversation

HertzDevil
Copy link
Contributor

Fixes #14325.

@straight-shoota straight-shoota added this to the 1.12.0 milestone Feb 29, 2024
@straight-shoota straight-shoota merged commit 87518d6 into crystal-lang:master Mar 1, 2024
57 checks passed
@HertzDevil HertzDevil deleted the bug/allocate-ivar-discarded branch March 8, 2024 13:53
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.

Can't initialize a struct inside #pre_initialize
3 participants