diff options
author | Nadrieril | 2020-01-25 13:29:27 +0000 |
---|---|---|
committer | Nadrieril | 2020-01-25 13:29:27 +0000 |
commit | 8c64ae33149db4edaaa89d2d187baf10a2b9f8bf (patch) | |
tree | 1e2cf38f35594ceeba34f3650d68b42792e0c64d /dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt | |
parent | f2e8c414993d5c9fcc63f5c035f755712c01dad0 (diff) |
Make most type errors stringy
Diffstat (limited to '')
-rw-r--r-- | dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt b/dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt index 8507ccf..9342fd8 100644 --- a/dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt +++ b/dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt @@ -1,13 +1 @@ -[unknown location] Type error: Wrong type of function argument - --> 1:22 - | -1 | (λ(_ : Natural) → _) True␊ - | ^--^ - | - = This argument has type Value@WHNF { value: AppliedBuiltin(Bool, [], []), type: Type } - --> 1:8 - | -1 | (λ(_ : Natural) → _) True␊ - | ^-----^ - | - = But the function expected an argument of type Value@NF { value: AppliedBuiltin(Natural, [], []), type: Type } +Type error: Unhandled error: TypeMismatch |