diff options
author | Nadrieril | 2020-02-02 15:02:23 +0000 |
---|---|---|
committer | Nadrieril | 2020-02-02 15:06:39 +0000 |
commit | 92bbea48f9a0380a614f2687c73d55a67ff9294e (patch) | |
tree | 03dff980cafa1103d03ca6ad27ad729eda5901ec /dhall/tests/type-errors/unit/NaturalSubtractNotNatural.txt | |
parent | 70eede4fd012f49dfab0e2e27fb3a4e4bbff6325 (diff) |
More nice errors plus some refactor
Diffstat (limited to 'dhall/tests/type-errors/unit/NaturalSubtractNotNatural.txt')
-rw-r--r-- | dhall/tests/type-errors/unit/NaturalSubtractNotNatural.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dhall/tests/type-errors/unit/NaturalSubtractNotNatural.txt b/dhall/tests/type-errors/unit/NaturalSubtractNotNatural.txt index 795c97c..5ee2a11 100644 --- a/dhall/tests/type-errors/unit/NaturalSubtractNotNatural.txt +++ b/dhall/tests/type-errors/unit/NaturalSubtractNotNatural.txt @@ -1,8 +1,8 @@ -Type error: Unhandled error: error: function annot mismatch +Type error: Unhandled error: error: Wrong type of function argument --> <current file>:1:0 | 1 | Natural/subtract True True - | ^^^^^^^^^^^^^^^^^^^^^ function annot mismatch + | ^^^^^^^^^^^^^^^^^^^^^ Wrong type of function argument | ---------------- help: this expects an argument of type: Natural | ---- help: but this has type: Bool | |