diff options
author | Nadrieril | 2020-03-11 17:26:09 +0000 |
---|---|---|
committer | Nadrieril | 2020-03-11 17:26:09 +0000 |
commit | 66972b05e5996132a83332ef0c6879c3a1679dc7 (patch) | |
tree | a6c148a6513063b14a1aebe53dd4a0cc927ecb3a /dhall/tests/parser/failure | |
parent | 65e8aa46344b9dc32c3ad776856791d18cc616c3 (diff) |
Implement record puns
Diffstat (limited to 'dhall/tests/parser/failure')
-rw-r--r-- | dhall/tests/parser/failure/spacing/RecordTypeNoSpace.txt | 2 | ||||
-rw-r--r-- | dhall/tests/parser/failure/unit/RecordLitPunDotted.txt | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/dhall/tests/parser/failure/spacing/RecordTypeNoSpace.txt b/dhall/tests/parser/failure/spacing/RecordTypeNoSpace.txt index f6427a4..b08c143 100644 --- a/dhall/tests/parser/failure/spacing/RecordTypeNoSpace.txt +++ b/dhall/tests/parser/failure/spacing/RecordTypeNoSpace.txt @@ -3,4 +3,4 @@ 1 | { x :T }␊ | ^--- | - = expected non_empty_record_type_or_literal or empty_record_literal + = expected missing, if_, merge, NaN, Some_, toMap, assert, forall, record_type_entry, or empty_record_literal diff --git a/dhall/tests/parser/failure/unit/RecordLitPunDotted.txt b/dhall/tests/parser/failure/unit/RecordLitPunDotted.txt new file mode 100644 index 0000000..2e0ac22 --- /dev/null +++ b/dhall/tests/parser/failure/unit/RecordLitPunDotted.txt @@ -0,0 +1,6 @@ + --> 1:7 + | +1 | { x.y.z }␊ + | ^--- + | + = expected missing, if_, merge, NaN, Some_, toMap, assert, or forall |