summaryrefslogtreecommitdiff
path: root/dhall/tests/type-errors/unit/MergeEmptyNeedsDirectAnnotation2.txt
diff options
context:
space:
mode:
authorNadrieril Feneanar2020-02-04 18:55:37 +0000
committerGitHub2020-02-04 18:55:37 +0000
commiteb9129312edf574948df777acb340189dc147724 (patch)
treeb3297ae9f8a46f976274159aa7f4c8ee8662b6f1 /dhall/tests/type-errors/unit/MergeEmptyNeedsDirectAnnotation2.txt
parent488bce275f104384282a0867aeaad011ae8cf48c (diff)
parentf3bdd5ab32e112483da4c81d64ec14a116bf06cf (diff)
Merge pull request #128 from Nadrieril/nice-errors-everywhere
Add basic pretty type errors to all errors
Diffstat (limited to 'dhall/tests/type-errors/unit/MergeEmptyNeedsDirectAnnotation2.txt')
-rw-r--r--dhall/tests/type-errors/unit/MergeEmptyNeedsDirectAnnotation2.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/dhall/tests/type-errors/unit/MergeEmptyNeedsDirectAnnotation2.txt b/dhall/tests/type-errors/unit/MergeEmptyNeedsDirectAnnotation2.txt
index 563b3bf..5dcffdf 100644
--- a/dhall/tests/type-errors/unit/MergeEmptyNeedsDirectAnnotation2.txt
+++ b/dhall/tests/type-errors/unit/MergeEmptyNeedsDirectAnnotation2.txt
@@ -1 +1,6 @@
-Type error: Unhandled error: MergeEmptyNeedsAnnotation
+Type error: error: MergeEmptyNeedsAnnotation
+ --> <current file>:1:26
+ |
+1 | \(x: <>) -> let y: Bool = merge {=} x in 1
+ | ^^^^^^^^^^^ MergeEmptyNeedsAnnotation
+ |