diff options
author | Nadrieril | 2020-02-02 18:03:03 +0000 |
---|---|---|
committer | Nadrieril | 2020-02-02 18:03:03 +0000 |
commit | f3681f7a32ddb78db4d564769b50b697c54ebeac (patch) | |
tree | a65cf1d2a53d67d2ea8f808c9a8408a8f96713e7 /dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt | |
parent | b6625eccbf3f2d1bcfe1a88f4d556439281e91de (diff) |
Tweak errors
Diffstat (limited to 'dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt')
-rw-r--r-- | dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt b/dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt index d8811c2..01facbc 100644 --- a/dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt +++ b/dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt @@ -1,8 +1,9 @@ -Type error: Unhandled error: error: Wrong type of function argument +Type error: Unhandled error: error: wrong type of function argument --> <current file>:1:1 | 1 | (λ(_ : Natural) → _) True - | ^^^^^^^^^^^^^^^^^^^^^^^^ Wrong type of function argument | ^^^^^^^^^^^^^^^^^^ this expects an argument of type: Natural | ^^^^ but this has type: Bool | + = note: expected type `Natural` + found type `Bool` |