-
Notifications
You must be signed in to change notification settings - Fork 447
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure correct overload for diagnose() is called even in Transform co…
…ntext. This ensures we do not see duplicate diagnostics from there. Signed-off-by: Anton Korobeynikov <[email protected]>
- Loading branch information
Showing
7 changed files
with
21 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]; | ||
^^^^^^^^^^^^^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters