summaryrefslogtreecommitdiff
path: root/dhall/tests/type-inference/failure/unit/LetWithWrongAnnotation.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dhall/tests/type-inference/failure/unit/LetWithWrongAnnotation.txt')
-rw-r--r--dhall/tests/type-inference/failure/unit/LetWithWrongAnnotation.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/dhall/tests/type-inference/failure/unit/LetWithWrongAnnotation.txt b/dhall/tests/type-inference/failure/unit/LetWithWrongAnnotation.txt
new file mode 100644
index 0000000..5ba4b35
--- /dev/null
+++ b/dhall/tests/type-inference/failure/unit/LetWithWrongAnnotation.txt
@@ -0,0 +1,6 @@
+Type error: error: annot mismatch: (True : Bool) : Natural
+ --> <current file>:1:8
+ |
+1 | let x : Natural = True in True
+ | ^^^^^^^ annot mismatch: (True : Bool) : Natural
+ |