You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the attached P4 program, in particular action 'foo'. The error I get from both p4test and p4c-bm2-ss is:
error: Could not find declaration for pred
There is no line number for the error, and nothing in the program named 'pred'.
There are 3 lines inside action 'foo', as explained in the comments, such that commenting out or deleting any one of them causes the error to go away. That might help find a root cause for this issue. could-not-find-pred-declaration.p4.txt
The text was updated successfully, but these errors were encountered:
Confirmed that after the commits for this issue, the test program I submitted no longer gives an error, and appears to produce a correct bmv2 JSON file using the ternary operator. Thanks for the fix.
See the attached P4 program, in particular action 'foo'. The error I get from both p4test and p4c-bm2-ss is:
There is no line number for the error, and nothing in the program named 'pred'.
There are 3 lines inside action 'foo', as explained in the comments, such that commenting out or deleting any one of them causes the error to go away. That might help find a root cause for this issue.
could-not-find-pred-declaration.p4.txt
The text was updated successfully, but these errors were encountered: