summaryrefslogtreecommitdiff
path: root/dhall/tests/type-errors/unit/ListLiteralEmptyNotType.txt
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dhall/tests/type-errors/unit/ListLiteralEmptyNotType.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/dhall/tests/type-errors/unit/ListLiteralEmptyNotType.txt b/dhall/tests/type-errors/unit/ListLiteralEmptyNotType.txt
index 070e461..aa7c8c5 100644
--- a/dhall/tests/type-errors/unit/ListLiteralEmptyNotType.txt
+++ b/dhall/tests/type-errors/unit/ListLiteralEmptyNotType.txt
@@ -1 +1,9 @@
-Type error: Unhandled error: function annot mismatch: (Type : Kind) : Type
+Type error: Unhandled error: error: wrong type of function argument
+ --> <current file>:1:5
+ |
+1 | [] : List Type
+ | ^^^^ this expects an argument of type: Type
+ | ^^^^ but this has type: Kind
+ |
+ = note: expected type `Type`
+ found type `Kind`