This PR rewords the "application type mismatch" error message so that the argument and its type precede the application expression.
9 lines
185 B
Text
9 lines
185 B
Text
389.lean:7:14-7:17: error: Application type mismatch: The argument
|
|
bar
|
|
has type
|
|
Bar Nat
|
|
but is expected to have type
|
|
Foo ?m
|
|
in the application
|
|
getFoo bar
|
|
getFoo bar.toFoo : Nat
|