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

Report error when enum variant cannot be evaluated #905

Merged

Conversation

taichi-ishitani
Copy link
Contributor

@taichi-ishitani taichi-ishitani commented Aug 22, 2024

Currently, the todo! macro is used when the value of enum variant is not specified and its implicit value cannot be evaluated.

An appropriate error should be used for that case instead of the todo! macro.

@dalance dalance merged commit a06342d into veryl-lang:master Aug 22, 2024
6 checks passed
@taichi-ishitani taichi-ishitani deleted the unevaluatable_enum_value_error branch August 22, 2024 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants