p4-spec icon indicating copy to clipboard operation
p4-spec copied to clipboard

[#1362] Clarify that `switch` statements _are_ allowed in action/function bodies, and that `switch` statements with `action_run` expressions are only allowed in control `apply` blocks

Open kfcripps opened this issue 3 weeks ago • 2 comments

Cleans up some wording that was missed by #945, which makes it unclear as to whether switch statements are actually supported in actions/functions or not.

Closes #1362.

kfcripps avatar Feb 04 '25 18:02 kfcripps