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.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/dhall/tests/type-errors/unit/FunctionApplicationIsNotFunction.txt b/dhall/tests/type-errors/unit/FunctionApplicationIsNotFunction.txt
index a72e120..0732d1c 100644
--- a/dhall/tests/type-errors/unit/FunctionApplicationIsNotFunction.txt
+++ b/dhall/tests/type-errors/unit/FunctionApplicationIsNotFunction.txt
@@ -1 +1,7 @@
-Type error: Unhandled error: apply to not Pi
+Type error: Unhandled error: error: Trying to apply an argument to a value that is not a function
+ --> <current file>:1:0
+ |
+1 | True True
+ | ^^^^ this has type: `Bool`
+ |
+ = help: only functions can be applied to