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

support flag_var<bitwise_operator>= .enum_flag #20940

Open
1 of 2 tasks
Delta456 opened this issue Mar 2, 2024 · 0 comments
Open
1 of 2 tasks

support flag_var<bitwise_operator>= .enum_flag #20940

Delta456 opened this issue Mar 2, 2024 · 0 comments
Assignees
Labels
Feature Request This issue is made to request a feature.

Comments

@Delta456
Copy link
Member

Delta456 commented Mar 2, 2024

Describe the feature

Currently, there is no support for flag_var<bitwise_operator>=enum_flag like flag_var^= .enum_flag and flag_var|=. enum_flag operation.

Use Case

flag_var^= .enum_flag is shorthand for flag_var = flag_var ^ .enum_flag

Proposed Solution

Modify the checker/infix.v file to allow the working of <bitwise>= for enum flags as a starting point.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Version used

Latest

Environment details (OS name and version, etc.)

Not relevant

Note

You can use the 👍 reaction to increase the issue's priority for developers.

Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.

@Delta456 Delta456 added the Feature Request This issue is made to request a feature. label Mar 2, 2024
@Delta456 Delta456 self-assigned this Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request This issue is made to request a feature.
Projects
None yet
Development

No branches or pull requests

1 participant