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
has restricted that controls cannot be applied from within actions ever since that section was added a few years ago. I remember I initially had proposed allowing actions calling controls if the control did not invoke any tables, but I think you, Mihai, recommended against it then, I thought in general, and hence that is why that table has "no" for that entry.
Note: I am not here arguing for generalizing what is in the spec at this time. It seems perfectly reasonable if p4c follows what the spec says, and forbids calling controls from within action bodies, regardless of whether the control has tables or not.
The following program crashes when trying to inline two controls and one of the controls is being called in an action.
control_apply_action.p4.txt
I'm filing this on behalf of @fruffy
The text was updated successfully, but these errors were encountered: