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

Fix parser so that priority can be used in expressions #4053

Merged
merged 1 commit into from
Jul 8, 2023

Conversation

ChrisDodd
Copy link
Contributor

We could refactor things so that keysetExpression always returns a ListExpression to simplify the duplication a bit (then the if in the entry actions goes away.) This likely also means changing the keyset field in SelectExpression to be a ListExpression as well, which could simplify many places in the code where those are handled using an explicit check for ListExpression.

@mihaibudiu
Copy link
Contributor

Fixes #4026

@fruffy
Copy link
Collaborator

fruffy commented Jul 7, 2023

Great, thanks for fixing this!

@ChrisDodd ChrisDodd merged commit 64683c9 into p4lang:main Jul 8, 2023
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