diff options
author | Nadrieril | 2020-02-09 17:47:58 +0000 |
---|---|---|
committer | Nadrieril | 2020-02-09 19:58:28 +0000 |
commit | 8abb6c24cd26b64d708a74faaa28cc9294dc3466 (patch) | |
tree | 836c47dbe99ed8884bf685f61315f4ce3bfc2113 /dhall/tests/type-inference/failure/unit/MergeHandlerNotFunction.txt | |
parent | 81504a7ee24f22820c6bc85823c879d488710d11 (diff) |
Move ui outputs to a sensible place
Diffstat (limited to 'dhall/tests/type-inference/failure/unit/MergeHandlerNotFunction.txt')
-rw-r--r-- | dhall/tests/type-inference/failure/unit/MergeHandlerNotFunction.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dhall/tests/type-inference/failure/unit/MergeHandlerNotFunction.txt b/dhall/tests/type-inference/failure/unit/MergeHandlerNotFunction.txt new file mode 100644 index 0000000..8528f90 --- /dev/null +++ b/dhall/tests/type-inference/failure/unit/MergeHandlerNotFunction.txt @@ -0,0 +1,9 @@ +Type 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 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` |