summaryrefslogtreecommitdiff
path: root/dhall/tests/type-errors/unit/NaturalSubtractNotNatural.txt
diff options
context:
space:
mode:
authorNadrieril2020-01-25 13:29:27 +0000
committerNadrieril2020-01-25 13:29:27 +0000
commit8c64ae33149db4edaaa89d2d187baf10a2b9f8bf (patch)
tree1e2cf38f35594ceeba34f3650d68b42792e0c64d /dhall/tests/type-errors/unit/NaturalSubtractNotNatural.txt
parentf2e8c414993d5c9fcc63f5c035f755712c01dad0 (diff)
Make most type errors stringy
Diffstat (limited to '')
-rw-r--r--dhall/tests/type-errors/unit/NaturalSubtractNotNatural.txt14
1 files changed, 1 insertions, 13 deletions
diff --git a/dhall/tests/type-errors/unit/NaturalSubtractNotNatural.txt b/dhall/tests/type-errors/unit/NaturalSubtractNotNatural.txt
index 784fd8a..9342fd8 100644
--- a/dhall/tests/type-errors/unit/NaturalSubtractNotNatural.txt
+++ b/dhall/tests/type-errors/unit/NaturalSubtractNotNatural.txt
@@ -1,13 +1 @@
- --> 1:1
- |
-1 | Natural/subtract True True␊
- | ^--------------^
- |
- = Type error: Wrong type of function argument
- --> 1:18
- |
-1 | Natural/subtract True True␊
- | ^--^
- |
- = This argument has type Value@WHNF { value: AppliedBuiltin(Bool, [], []), type: Type }
-[unknown location] But the function expected an argument of type Value@WHNF { value: AppliedBuiltin(Natural, [], []), type: Type }
+Type error: Unhandled error: TypeMismatch