This PR rewords the "application type mismatch" error message so that the argument and its type precede the application expression.
8 lines
214 B
Text
8 lines
214 B
Text
autoPPExplicit.lean:2:26-2:31: error: Application type mismatch: The argument
|
||
b = c
|
||
has type
|
||
Prop
|
||
of sort `Type` but is expected to have type
|
||
α
|
||
of sort `Sort u_1` in the application
|
||
@Eq.trans α a (b = c)
|