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
There are a few externs and extern functions with constraints on arguments beyond what is encoded in the type system, and some negative tests are failing because we don't enforce these constraints.
Calls to extract(hdr, n) should require hdr to be variable-width:
examples/checker_tests/bad/extract1.p4
extract() only defined for headers:
examples/checker_tests/bad/extract.p4
examples/checker_tests/bad/issue477.p4
Calls to lookahead<H>() should require H be fixed-width:
examples/checker_tests/bad/issue600.p4
examples/checker_tests/bad/issue478.p4
The argument to push_front should be a compile-time known number:
examples/checker_tests/bad/push_nonconstant.p4
The final argument to hash should be fixed-width:
examples/checker_tests/bad/issue584.p4
The text was updated successfully, but these errors were encountered:
There are a few externs and extern functions with constraints on arguments beyond what is encoded in the type system, and some negative tests are failing because we don't enforce these constraints.
Calls to
extract(hdr, n)
should requirehdr
to be variable-width:extract() only defined for headers:
Calls to
lookahead<H>()
should requireH
be fixed-width:The argument to push_front should be a compile-time known number:
The final argument to
hash
should be fixed-width:The text was updated successfully, but these errors were encountered: