summaryrefslogtreecommitdiff
path: root/dhall/tests/type-errors/hurkensParadox.txt
diff options
context:
space:
mode:
authorNadrieril2020-02-02 15:02:23 +0000
committerNadrieril2020-02-02 15:06:39 +0000
commit92bbea48f9a0380a614f2687c73d55a67ff9294e (patch)
tree03dff980cafa1103d03ca6ad27ad729eda5901ec /dhall/tests/type-errors/hurkensParadox.txt
parent70eede4fd012f49dfab0e2e27fb3a4e4bbff6325 (diff)
More nice errors plus some refactor
Diffstat (limited to 'dhall/tests/type-errors/hurkensParadox.txt')
-rw-r--r--dhall/tests/type-errors/hurkensParadox.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhall/tests/type-errors/hurkensParadox.txt b/dhall/tests/type-errors/hurkensParadox.txt
index 10bb9a4..e06c4b2 100644
--- a/dhall/tests/type-errors/hurkensParadox.txt
+++ b/dhall/tests/type-errors/hurkensParadox.txt
@@ -1,4 +1,4 @@
-Type error: Unhandled error: error: function annot mismatch
+Type error: Unhandled error: error: Wrong type of function argument
--> <current file>:6:23
|
1 | let bottom : Type = ∀(any : Type) → any
@@ -8,7 +8,7 @@ Type error: Unhandled error: error: function annot mismatch
...
10 | : pow (pow U) → U
11 | = λ(t : pow (pow U))
- | ^^^^^ function annot mismatch
+ | ^^^^^ Wrong type of function argument
| --- help: this expects an argument of type: Kind
| - help: but this has type: Sort
|