-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1070 from GaloisInc/issue975
Fix printing of parse errors in enumeration sequences
- Loading branch information
Showing
3 changed files
with
46 additions
and
30 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[ 0, -1 .. 0 ] | ||
[ 10 .. () ] | ||
[ \x -> x .. 42 ] |
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,13 @@ | ||
Loading module Cryptol | ||
|
||
Parse error at issue975.icry:1:6--1:8 | ||
The boundaries of .. sequences should be valid numeric types. | ||
The expression `-1` is not. | ||
|
||
Parse error at issue975.icry:2:9--2:11 | ||
The boundaries of .. sequences should be valid numeric types. | ||
The expression `()` is not. | ||
|
||
Parse error at issue975.icry:3:3--3:10 | ||
The boundaries of .. sequences should be valid numeric types. | ||
The expression `\x -> x` is not. |