summaryrefslogtreecommitdiff
path: root/dhall/tests/type-errors/unit/FunctionApplicationIsNotFunction.txt
diff options
context:
space:
mode:
authorNadrieril2020-02-02 18:03:03 +0000
committerNadrieril2020-02-02 18:03:03 +0000
commitf3681f7a32ddb78db4d564769b50b697c54ebeac (patch)
treea65cf1d2a53d67d2ea8f808c9a8408a8f96713e7 /dhall/tests/type-errors/unit/FunctionApplicationIsNotFunction.txt
parentb6625eccbf3f2d1bcfe1a88f4d556439281e91de (diff)
Tweak errors
Diffstat (limited to '')
-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