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/hurkensParadox.txt | |
parent | b6625eccbf3f2d1bcfe1a88f4d556439281e91de (diff) |
Tweak errors
Diffstat (limited to '')
-rw-r--r-- | dhall/tests/type-errors/hurkensParadox.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dhall/tests/type-errors/hurkensParadox.txt b/dhall/tests/type-errors/hurkensParadox.txt index 5241517..522e1a2 100644 --- a/dhall/tests/type-errors/hurkensParadox.txt +++ b/dhall/tests/type-errors/hurkensParadox.txt @@ -1,4 +1,4 @@ -Type error: Unhandled error: error: Wrong type of function argument +Type error: Unhandled error: error: wrong type of function argument --> <current file>:6:23 | 1 | let bottom : Type = ∀(any : Type) → any @@ -8,7 +8,8 @@ Type error: Unhandled error: error: Wrong type of function argument ... 10 | : pow (pow U) → U 11 | = λ(t : pow (pow U)) - | ^^^^^ Wrong type of function argument | ^^^ this expects an argument of type: Kind | ^ but this has type: Sort | + = note: expected type `Kind` + found type `Sort` |