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

fuir: fix instability in clazz._id #4648

Merged

Conversation

michaellilltokiwa
Copy link
Member

@michaellilltokiwa michaellilltokiwa commented Jan 21, 2025

I discovered some cases where _classes.get(cl._id) != cl because the Clazz constructor led to newClazz being called.
These cases do not trigger any bugs currently but enabling lookupDone and serializing the FUIR would not work.

I discovered some cases where `_classes.get(cl._id) != cl` because the Clazz constructor led newClazz being called.
@michaellilltokiwa michaellilltokiwa added bug Something isn't working dfa/monomorphization related to the creation of Fuzion IR from Fuzion modules labels Jan 21, 2025
@michaellilltokiwa michaellilltokiwa requested a review from a team January 21, 2025 18:59
@michaellilltokiwa michaellilltokiwa merged commit 4ff804c into tokiwa-software:main Jan 22, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dfa/monomorphization related to the creation of Fuzion IR from Fuzion modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants