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

Ensure all constants only have one initializer in the interpreter #14381

Merged

Conversation

HertzDevil
Copy link
Contributor

Fixes #13739.

Ideally there should only ever be a single CompiledDef here even if the same constant initializer is compiled multiple times.

@straight-shoota straight-shoota added this to the 1.12.0 milestone Mar 21, 2024
@straight-shoota straight-shoota merged commit 7c119d1 into crystal-lang:master Mar 24, 2024
58 checks passed
@HertzDevil HertzDevil deleted the bug/interpreter-const-index branch March 26, 2024 11:06
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.

Invalid memory access using the interpreter in file_spec
2 participants