Skip to content

Avoid crashing during associated constant lookup on a runtime facet value #5243

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

Merged

Conversation

danakj
Copy link
Contributor

@danakj danakj commented Apr 3, 2025

Perhaps we will disallow member lookup on and conversion of runtime facet values. For now, leave a TODO and produce a TODO diagnostic instead of crashing.

Related to #5241.

@danakj
Copy link
Contributor Author

danakj commented Apr 3, 2025

Rebased on #5242

Rebased back to trunk now.

@github-actions github-actions bot requested a review from zygoloid April 3, 2025 19:35
…alue

Perhaps we will disallow member lookup on and conversion of runtime
facet values. For now, leave a TODO and produce a TODO diagnostic
instead of crashing.

Related to carbon-language#5241.
@danakj danakj force-pushed the associated-const-in-runtime-facet branch from 3fec1f6 to dcc74e9 Compare April 3, 2025 20:03
@zygoloid zygoloid added this pull request to the merge queue Apr 3, 2025
Merged via the queue into carbon-language:trunk with commit 6eddf72 Apr 3, 2025
8 checks passed
@danakj danakj deleted the associated-const-in-runtime-facet branch April 29, 2025 15:16
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