-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug that caused crash in TypeChecker
- Loading branch information
1 parent
954a2e4
commit 2120db4
Showing
3 changed files
with
7 additions
and
7 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
2 changes: 1 addition & 1 deletion
2
test/test-files/analyzer/foreach-loops/error-foreach-wrong-index-type/exception.out
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,5 +1,5 @@ | ||
[Error|Semantic] ./test-files/analyzer/foreach-loops/error-foreach-wrong-index-type/source.spice:3:13: | ||
Array index not of type int or long: Index in foreach loop must be of type int. You provided double | ||
Array index not of type int: Index in foreach loop must be of type int. You provided double | ||
|
||
3 foreach double i, int item : array { | ||
^^^^^^^^ |