summaryrefslogtreecommitdiff
path: root/dhall/tests/type-errors/unit/MergeHandlerNotFunction.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/MergeHandlerNotFunction.txt
parentb6625eccbf3f2d1bcfe1a88f4d556439281e91de (diff)
Tweak errors
Diffstat (limited to 'dhall/tests/type-errors/unit/MergeHandlerNotFunction.txt')
-rw-r--r--dhall/tests/type-errors/unit/MergeHandlerNotFunction.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhall/tests/type-errors/unit/MergeHandlerNotFunction.txt b/dhall/tests/type-errors/unit/MergeHandlerNotFunction.txt
index 3a12c06..053a054 100644
--- a/dhall/tests/type-errors/unit/MergeHandlerNotFunction.txt
+++ b/dhall/tests/type-errors/unit/MergeHandlerNotFunction.txt
@@ -1,9 +1,9 @@
-Type error: Unhandled error: error: Handler is not a function
+Type error: Unhandled error: error: merge handler is not a function
--> <current file>:1:0
|
1 | merge { x = True } (< x : Bool >.x True)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this merge expression
- | ^^^^^^^^^^^^ the handler `x` had type: `Bool`
+ | ^^^^^^^^^^^^ the handler for `x` has type: `Bool`
| ------------------- help: the corresponding variant has type: `Bool`
|
= help: a handler for this variant must be a function that takes an input of type: `Bool`