This PR rewords the "application type mismatch" error message so that the argument and its type precede the application expression.
16 lines
335 B
Text
16 lines
335 B
Text
elseifDoErrorPos.lean:4:10-4:11: error: Application type mismatch: The argument
|
|
x
|
|
has type
|
|
Nat
|
|
but is expected to have type
|
|
Prop
|
|
in the application
|
|
@ite ?m x
|
|
elseifDoErrorPos.lean:7:11-7:14: error: Application type mismatch: The argument
|
|
"a"
|
|
has type
|
|
String
|
|
but is expected to have type
|
|
Nat
|
|
in the application
|
|
pure "a"
|