-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
robustify the type-analysis debug report
The type-analysis debug report used to crash on various assertions because it assumed a well-typed program. However the first type-analysis runs before the semantics checker, hence the program may be ill-typed at that time. With this change the type-analysis debug report printer makes no assumptions about the expected types, instead it prints the infered types.
- Loading branch information
Showing
10 changed files
with
67 additions
and
102 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
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 |
---|---|---|
@@ -1,12 +1,9 @@ | ||
Warning: Variable denominator only occurs once in file euclid.dl at line 61 | ||
head = [0,denominator]. | ||
--------------^------------- | ||
Warning: Variable newTail only occurs once in file euclid.dl at line 73 | ||
Simplify(tail,newTail), | ||
------------------^--------- | ||
Warning: Variable denominator only occurs once in file euclid.dl at line 128 | ||
Warning: Variable denominator only occurs once in file euclid.dl at line 130 | ||
head = [0,denominator]. | ||
--------------^------------- | ||
Warning: Variable denominator only occurs once in file euclid.dl at line 132 | ||
Warning: Variable denominator only occurs once in file euclid.dl at line 134 | ||
head = [numerator,denominator], numerator!=0. | ||
----------------------^--------------------------- |