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
I can instantiate a control A within control B, then invoke A.apply() within control B's apply block. However, if I change it to instantiate A at the top level, the compiler crashes. Not sure if this is intended to be a legal P4_16 program or not.
I think this is a duplicate of #388.
But this issue has a much better title.
Both of these are related to a spec issue: p4lang/p4-spec#150
So we can't fix this one until we settle the problem in the spec.
I can instantiate a control A within control B, then invoke A.apply() within control B's apply block. However, if I change it to instantiate A at the top level, the compiler crashes. Not sure if this is intended to be a legal P4_16 program or not.
Look for occurrences of my_cBar in attached program.
method-call-on-top-level-control-inst.p4.txt
The text was updated successfully, but these errors were encountered: