summaryrefslogtreecommitdiff
path: root/dhall/tests/type-errors/unit/MergeHandlerNotMatchAlternativeType.txt
diff options
context:
space:
mode:
authorNadrieril2020-02-02 17:36:15 +0000
committerNadrieril2020-02-02 17:36:15 +0000
commit4f98c23963e82eaf08c9d7291d0988d13571d337 (patch)
treef225a383f0236866b9ce1f25960b77ca295aabf4 /dhall/tests/type-errors/unit/MergeHandlerNotMatchAlternativeType.txt
parent47167b874179bd6e659f0a596defcfe854369618 (diff)
Fix spans for unions and records
Diffstat (limited to 'dhall/tests/type-errors/unit/MergeHandlerNotMatchAlternativeType.txt')
-rw-r--r--dhall/tests/type-errors/unit/MergeHandlerNotMatchAlternativeType.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhall/tests/type-errors/unit/MergeHandlerNotMatchAlternativeType.txt b/dhall/tests/type-errors/unit/MergeHandlerNotMatchAlternativeType.txt
index 1762a7c..2afbc78 100644
--- a/dhall/tests/type-errors/unit/MergeHandlerNotMatchAlternativeType.txt
+++ b/dhall/tests/type-errors/unit/MergeHandlerNotMatchAlternativeType.txt
@@ -3,7 +3,7 @@ Type error: Unhandled error: error: Wrong handler input type
|
1 | merge { x = λ(_ : Bool) → _ } (< x : Natural >.x 1)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this merge expression
- | ^^^^^^^^^^^^^^^^^^^ the handler `x` expects a value of type: `Bool`
- | ^^^^^^^^^^^^^^^^^ but the corresponding variant has type: `Natural`
+ | ^^^^^^^^^^^^^^^^^^^^^^^ the handler `x` expects a value of type: `Bool`
+ | ^^^^^^^^^^^^^^^^^^^ but the corresponding variant has type: `Natural`
|
= help: only functions can be applied to