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

checker: allow alias enum flagged to have bit operations #21532

Merged
merged 3 commits into from
May 20, 2024

Conversation

Delta456
Copy link
Member

Closes #21531

@Delta456 Delta456 marked this pull request as ready for review May 19, 2024 18:59
Comment on lines +3 to +7
et: .a | .b // works
}

alias_container := AliasContainer{
at: .a | .b // fails
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the works and fails comments. With your PR, both do work.

Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work.

@spytheman spytheman merged commit 9e7e323 into vlang:master May 20, 2024
69 checks passed
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.

Undefined bitfield operation on enum alias
2 participants