Open QinshiWang opened 2 years ago
https://github.com/p4lang/p4-spec/issues/995 https://github.com/p4lang/p4-spec/pull/1007
The current semantics does not obey the current P4 spec, but it's already coherent with the proposed change in the links. So we only need to add union.setInvalid() when the change is accepted.
union.setInvalid()
https://github.com/p4lang/p4-spec/issues/995 https://github.com/p4lang/p4-spec/pull/1007