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

Port EnumInstantation to the declaration engine. #3310

Closed
wants to merge 1 commit into from

Conversation

tritao
Copy link
Contributor

@tritao tritao commented Nov 7, 2022

This ports EnumInstantation to use declaration ids, which fixes the enum instantiation code to directly use the declaration id we previously inserted for the enum in the declaration engine, instead of converting it to a declaration, and then re-inserting it to the declaration engine, causing the declaration engine to end up with duplicates.

This ports EnumInstantation to use declaration ids, which fixes the enum
instantiation code to directly use the declaration id we previously
inserted for the enum in the declaration engine, instead of converting
it to a declaration, and then re-inserting it to the declaration engine,
causing the declaration engine to end up with duplicates.
@tritao tritao added the compiler: frontend Everything to do with type checking, control flow analysis, and everything between parsing and IRgen label Nov 7, 2022
@tritao tritao self-assigned this Nov 7, 2022
@tritao tritao closed this Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler: frontend Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant