diff options
Diffstat (limited to 'dhall/tests/type-inference/failure/unit/ListLiteralEmptyNotType.txt')
-rw-r--r-- | dhall/tests/type-inference/failure/unit/ListLiteralEmptyNotType.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dhall/tests/type-inference/failure/unit/ListLiteralEmptyNotType.txt b/dhall/tests/type-inference/failure/unit/ListLiteralEmptyNotType.txt new file mode 100644 index 0000000..2ca5819 --- /dev/null +++ b/dhall/tests/type-inference/failure/unit/ListLiteralEmptyNotType.txt @@ -0,0 +1,9 @@ +Type 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` |