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

Add file name to file-private metaclass types during codegen [fixup #15485] #15505

Conversation

HertzDevil
Copy link
Contributor

Fixes #15503.

(Apparently if you don't pass a filename argument to run in the codegen spec, then all the file-private types will be placed under the top-level namespace instead...?)

@HertzDevil HertzDevil added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler:codegen labels Feb 22, 2025
@straight-shoota straight-shoota added this to the 1.16.0 milestone Feb 22, 2025
@straight-shoota straight-shoota merged commit 29e1b71 into crystal-lang:master Feb 23, 2025
34 checks passed
@straight-shoota straight-shoota changed the title Add file name to file-private metaclass types during codegen Add file name to file-private metaclass types during codegen [fixup #15485] Feb 23, 2025
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. topic:compiler:codegen
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Seg fault with 2 private classes with the same name in diff files
3 participants