Skip to content

Commit

Permalink
Update expected test output due to error_reporter bug not being trigg…
Browse files Browse the repository at this point in the history
…ered

Signed-off-by: Anton Korobeynikov <[email protected]>
  • Loading branch information
asl committed Jul 29, 2024
1 parent 8397e2a commit 1e3daeb
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 19 deletions.
4 changes: 0 additions & 4 deletions testdata/p4_16_errors_outputs/issue3727.p4-stderr
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
issue3727.p4(7): [--Werror=type-error] error: f2(1) is not invoking an action
actions = {f2(1);}
^^^^
issue3727.p4(7): [--Werror=type-error] error: f2(1) is not invoking an action
actions = {f2(1);}
^^^^
[--Werror=type-error] error: Error while analyzing t
6 changes: 0 additions & 6 deletions testdata/p4_16_errors_outputs/minWidth.p4-stderr
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ const int xw = x.minWidthInBits();
minWidth.p4(8): [--Werror=type-error] error: error.minWidthInBits: Invalid enum tag
const int ew = error.minWidthInBits();
^^^^^^^^^^^^^^^^^^^^
minWidth.p4(8): [--Werror=type-error] error: error.minWidthInBits() is not a method
const int ew = error.minWidthInBits();
^^^^^^^^^^^^^^^^^^^^^^
minWidth.p4(8): [--Werror=type-error] error: error.minWidthInBits(): Cannot evaluate initializer to a compile-time constant
const int ew = error.minWidthInBits();
^^^^^^^^^^^^^^^^^^^^^^
minWidth.p4(9): [--Werror=type-error] error: Cannot extract field minWidthInBits from S which has type Type(string)
const int sw = S.minWidthInBits();
^^^^^^^^^^^^^^
Expand Down
3 changes: 0 additions & 3 deletions testdata/p4_16_errors_outputs/stack_e.p4-stderr
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
stack_e.p4(23): [--Werror=type-error] error: Header stack struct s[5] used with non-header type struct s
s[5] stack1; // non-header illegal in header stack
^^^^
stack_e.p4(23): [--Werror=type-error] error: Error while analyzing struct s[5]
s[5] stack1; // non-header illegal in header stack
^^^^
stack_e.p4(26): [--Werror=overlimit] error: 1231092310293: Value too large for int
h b = stack[1231092310293];
^^^^^^^^^^^^^
6 changes: 0 additions & 6 deletions testdata/p4_16_errors_outputs/type-in-expr.p4-stderr
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,3 @@ type-in-expr.p4(5): [--Werror=type-error] error: H: Type cannot be used here, ex
type-in-expr.p4(5): [--Werror=type-error] error: 4 < H: structured annotation must be compile-time constant values
@foo[bar=4<H]
^^^
type-in-expr.p4(5): [--Werror=type-error] error: H: Type cannot be used here, expecting an expression.
@foo[bar=4<H]
^
type-in-expr.p4(6): [--Werror=type-error] error: Error while analyzing control p
control p<H>(in H hdrs, out bool flag)
^

0 comments on commit 1e3daeb

Please sign in to comment.