summaryrefslogtreecommitdiff
path: root/dhall/tests/type-errors/unit/FunctionApplicationIsNotFunction.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dhall/tests/type-errors/unit/FunctionApplicationIsNotFunction.txt')
-rw-r--r--dhall/tests/type-errors/unit/FunctionApplicationIsNotFunction.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/dhall/tests/type-errors/unit/FunctionApplicationIsNotFunction.txt b/dhall/tests/type-errors/unit/FunctionApplicationIsNotFunction.txt
index 0732d1c..f779fd6 100644
--- a/dhall/tests/type-errors/unit/FunctionApplicationIsNotFunction.txt
+++ b/dhall/tests/type-errors/unit/FunctionApplicationIsNotFunction.txt
@@ -1,7 +1,6 @@
-Type error: Unhandled error: error: Trying to apply an argument to a value that is not a function
+Type error: Unhandled error: error: expected function, found `Bool`
--> <current file>:1:0
|
1 | True True
- | ^^^^ this has type: `Bool`
+ | ^^^^ function application requires a function
|
- = help: only functions can be applied to