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

cgen: perfect enum with comptime const value (related #22388) #22401

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

yuyi98
Copy link
Member

@yuyi98 yuyi98 commented Oct 3, 2024

This PR perfect enum with comptime const value (related #22388).

  • Avoid non-precomputed const variable names that contain const.

@felipensp
Copy link
Member

This PR perfect enum with comptime const value (related #22388).

  • Avoid non-precomputed const variable names that contain const.

Good catch. 👌

@spytheman spytheman merged commit f24d239 into vlang:master Oct 3, 2024
77 of 78 checks passed
@yuyi98 yuyi98 deleted the fix_enum_const_value branch October 3, 2024 13:57
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.

3 participants