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

Fix type information correlation for transitive enum resolution #1548

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

cdleary
Copy link
Collaborator

@cdleary cdleary commented Aug 18, 2024

Fixes #1540

We were not passing type information for the appropriate module -- a type alias dereferenced a type /in a different module/ so we were obligated to look up the associated type information in the ImportData.

Fixes and adds a precondition check to the deduce_utils helper that would have given a closer/more clear proximate cause.

@copybara-service copybara-service bot merged commit 5013b53 into google:main Aug 20, 2024
4 checks passed
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.

Use of imported type/enum crashes the front end
2 participants