test: fix test
Error is now caught by the elaborator too
This commit is contained in:
parent
60805b5c0c
commit
d8ced44ce2
1 changed files with 6 additions and 4 deletions
|
|
@ -1,6 +1,8 @@
|
|||
modBug.lean:1:8-1:20: error: application type mismatch
|
||||
modBug.lean:1:32-1:61: error: application type mismatch
|
||||
Nat.zeroNeOne (Nat.modZero 1)
|
||||
argument has type
|
||||
argument
|
||||
Nat.modZero 1
|
||||
has type
|
||||
1 % 0 = 1
|
||||
but function has type
|
||||
0 = 1 → False
|
||||
but is expected to have type
|
||||
0 = 1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue