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

[DSLX] Fix type info switching being wrong for local type aliases. #1888

Conversation

cdleary
Copy link
Collaborator

@cdleary cdleary commented Jan 25, 2025

Previously these samples would cause RET_CHECKs because the constexpr evaluator and bytecode emitter would try to resolve constexprs that weren't present.

Note: the duplicated structure between the constexpr evaluator and bytecode emitter does suggest we probably want an "abstract evaluator" scaffolding of sorts to factor out the commonalities.

@cdleary cdleary force-pushed the cdleary/2025-01-25-bad-root-type-info-switch branch from d81a5b7 to 7b3adbe Compare January 25, 2025 20:05
@cdleary cdleary marked this pull request as ready for review January 25, 2025 20:06
@copybara-service copybara-service bot merged commit ba13486 into google:main Jan 27, 2025
5 of 6 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.

2 participants