Hi, p4c compiler would yield ERROR: Undeclared identifier xxx, provided the ternary operator uses an action_param (e.g., xxx) in its conditional expression. This seems to be a bug (although easy to avoid by assigning the runtime value to a metadata field and using it for cond expressions instead).
Hi, p4c compiler would yield
ERROR: Undeclared identifier xxx
, provided the ternary operator uses an action_param (e.g., xxx) in its conditional expression. This seems to be a bug (although easy to avoid by assigning the runtime value to a metadata field and using it for cond expressions instead).