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

Allow value sets as labels when select() is done on a constant #3353

Merged
merged 1 commit into from
May 25, 2022

Conversation

mihaibudiu
Copy link
Contributor

Signed-off-by: Mihai Budiu [email protected]
Fixes #3343

@mihaibudiu mihaibudiu requested a review from fruffy May 24, 2022 20:12
frontends/common/constantFolding.cpp Outdated Show resolved Hide resolved
@mihaibudiu mihaibudiu merged commit eebe808 into p4lang:main May 25, 2022
@mihaibudiu mihaibudiu deleted the issue3343 branch May 25, 2022 01:32
github-sajan pushed a commit to github-sajan/p4c that referenced this pull request May 26, 2022
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.

value_set is not usable with a select with a constant due to constant folding not expecting value_sets
2 participants