This PR rewords the "application type mismatch" error message so that the argument and its type precede the application expression.
8 lines
199 B
Text
8 lines
199 B
Text
modBug.lean:1:48-1:64: error: Application type mismatch: The argument
|
|
Nat.mod_zero 1
|
|
has type
|
|
1 % 0 = 1
|
|
but is expected to have type
|
|
0 = 1
|
|
in the application
|
|
Nat.zero_ne_one (Nat.mod_zero 1)
|