summaryrefslogtreecommitdiff
path: root/dhall/tests/type-inference/failure/unit/FunctionApplicationArgumentNotMatch.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dhall/tests/type-inference/failure/unit/FunctionApplicationArgumentNotMatch.txt')
-rw-r--r--dhall/tests/type-inference/failure/unit/FunctionApplicationArgumentNotMatch.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/dhall/tests/type-inference/failure/unit/FunctionApplicationArgumentNotMatch.txt b/dhall/tests/type-inference/failure/unit/FunctionApplicationArgumentNotMatch.txt
new file mode 100644
index 0000000..07278b8
--- /dev/null
+++ b/dhall/tests/type-inference/failure/unit/FunctionApplicationArgumentNotMatch.txt
@@ -0,0 +1,9 @@
+Type error: error: wrong type of function argument
+ --> <current file>:1:1
+ |
+1 | (λ(_ : Natural) → _) True
+ | ^^^^^^^^^^^^^^^^^^ this expects an argument of type: Natural
+ | ^^^^ but this has type: Bool
+ |
+ = note: expected type `Natural`
+ found type `Bool`