-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Type resolution crashes if there is an unknown type name. This PR makes a change so that this unknown name is resolved to bool type to allow type resolution to continue safely.
- Loading branch information
1 parent
3a23efe
commit 7f9f784
Showing
7 changed files
with
14 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
bv2.bpl(6,13): Error: bitvector bounds in illegal position | ||
bv2.bpl(8,13): Error: undeclared type: x | ||
bv2.bpl(8,13): Error: undeclared type: x (replacing with "bool" to continue resolving) | ||
bv2.bpl(9,14): Error: bitvector bounds in illegal position | ||
3 name resolution errors detected in bv2.bpl |
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,4 +1,4 @@ | ||
Types1.bpl(8,11): Error: undeclared type: x | ||
Types1.bpl(9,11): Error: undeclared type: x | ||
Types1.bpl(9,14): Error: undeclared type: x | ||
Types1.bpl(8,11): Error: undeclared type: x (replacing with "bool" to continue resolving) | ||
Types1.bpl(9,11): Error: undeclared type: x (replacing with "bool" to continue resolving) | ||
Types1.bpl(9,14): Error: undeclared type: x (replacing with "bool" to continue resolving) | ||
3 name resolution errors detected in Types1.bpl |
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 @@ | ||
Prog0.bpl(19,10): Error: type variable must occur in map arguments: a | ||
Prog0.bpl(31,27): Error: more than one declaration of type variable: beta | ||
Prog0.bpl(34,22): Error: undeclared type: alpha | ||
Prog0.bpl(35,35): Error: undeclared type: alpha | ||
Prog0.bpl(34,22): Error: undeclared type: alpha (replacing with "bool" to continue resolving) | ||
Prog0.bpl(35,35): Error: undeclared type: alpha (replacing with "bool" to continue resolving) | ||
4 name resolution errors detected in Prog0.bpl |
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