diff options
author | Nadrieril | 2019-11-11 18:20:52 +0000 |
---|---|---|
committer | Nadrieril | 2019-11-11 18:20:52 +0000 |
commit | b33e1fc80bb0e7191c1ea3378569ed8c0fe4af6d (patch) | |
tree | 6393fec65f1576a8c9fcea28e38b4a0ae1b256a3 /dhall/tests/type-errors/hurkensParadox.txt | |
parent | d5b28bf2b4a5a26de67e4de731ad19699f33e75e (diff) |
Add more detail to TypeMismatch error
Diffstat (limited to '')
-rw-r--r-- | dhall/tests/type-errors/hurkensParadox.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dhall/tests/type-errors/hurkensParadox.txt b/dhall/tests/type-errors/hurkensParadox.txt index 69428b8..870388d 100644 --- a/dhall/tests/type-errors/hurkensParadox.txt +++ b/dhall/tests/type-errors/hurkensParadox.txt @@ -1 +1,8 @@ [unknown location] Type error: Wrong type of function argument +[unknown location] This argument has type Sort + --> 5:21 + | +5 | in let pow = λ(X : Kind) → X → Type␊ + | ^--^ + | + = But the function expected an argument of type Kind |