diff options
author | Nadrieril Feneanar | 2020-02-04 18:55:37 +0000 |
---|---|---|
committer | GitHub | 2020-02-04 18:55:37 +0000 |
commit | eb9129312edf574948df777acb340189dc147724 (patch) | |
tree | b3297ae9f8a46f976274159aa7f4c8ee8662b6f1 /dhall/tests/type-errors/unit/AnnotationRecordWrongFieldName.txt | |
parent | 488bce275f104384282a0867aeaad011ae8cf48c (diff) | |
parent | f3bdd5ab32e112483da4c81d64ec14a116bf06cf (diff) |
Merge pull request #128 from Nadrieril/nice-errors-everywhere
Add basic pretty type errors to all errors
Diffstat (limited to '')
-rw-r--r-- | dhall/tests/type-errors/unit/AnnotationRecordWrongFieldName.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dhall/tests/type-errors/unit/AnnotationRecordWrongFieldName.txt b/dhall/tests/type-errors/unit/AnnotationRecordWrongFieldName.txt index 946b296..2a754fc 100644 --- a/dhall/tests/type-errors/unit/AnnotationRecordWrongFieldName.txt +++ b/dhall/tests/type-errors/unit/AnnotationRecordWrongFieldName.txt @@ -1 +1,6 @@ -Type error: Unhandled error: annot mismatch: ({ x = 1 } : { x : Natural }) : { y : Natural } +Type error: error: annot mismatch: ({ x = 1 } : { x : Natural }) : { y : Natural } + --> <current file>:1:0 + | +1 | { x = 1 } : { y : Natural } + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ annot mismatch: ({ x = 1 } : { x : Natural }) : { y : Natural } + | |