-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
const hints - improve error detecting and reporting
- Loading branch information
thisismypassport
committed
Apr 15, 2024
1 parent
e90ac1f
commit a146c78
Showing
7 changed files
with
65 additions
and
29 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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Hint usage warnings: | ||
test_input/const2.p8:7:6: 'ssog4' is marked as constant but is used above where it is assigned to | ||
test_input/const2.p8:12:23: Local 'M' is marked as const but its value cannot be determined due to 'max(1,2)' | ||
test_input/const2.p8:12:25: Local 'm' is marked as const but its value cannot be determined due to 'min(1,2)' | ||
test_input/const2.p8:16:19: Local 'M' is marked as const but its value cannot be determined due to 'max(1,2)' | ||
test_input/const2.p8:24:12: Local 'ssog3' is marked as const but its value cannot be determined due to being reassigned | ||
test_input/const2.p8:26:12: Local 'ssog5' is marked as const but its value cannot be determined due to 'ssog5' | ||
test_input/const2.p8:26:20: 'ssog5' is marked as constant but is used above where it is assigned to | ||
test_input/const2.p8:27:12: Local 'ssog6' is marked as const but its value cannot be determined due to being reassigned |
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