diff options
author | Nadrieril | 2020-02-02 17:36:15 +0000 |
---|---|---|
committer | Nadrieril | 2020-02-02 17:36:15 +0000 |
commit | 4f98c23963e82eaf08c9d7291d0988d13571d337 (patch) | |
tree | f225a383f0236866b9ce1f25960b77ca295aabf4 /dhall/tests/type-errors/unit/MergeHandlerNotMatchAlternativeType.txt | |
parent | 47167b874179bd6e659f0a596defcfe854369618 (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.txt | 4 |
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 |