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

DPDK Backend : Fix missing table apply statement when used within switch expression #3284

Merged
merged 2 commits into from
May 5, 2022

Conversation

usha1830
Copy link
Contributor

@usha1830 usha1830 commented May 5, 2022

Switch expression like this

```
switch (tbl.apply().action_run) {
        a1: { foo.apply(); }
        a2: { bar.apply(); }
    }
should first apply the table and then execute the code within switch.

@mihaibudiu mihaibudiu merged commit 687ebae into p4lang:main May 5, 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.

2 participants