This PR rewords the "application type mismatch" error message so that the argument and its type precede the application expression.
8 lines
198 B
Text
8 lines
198 B
Text
283.lean:1:24-1:25: error: Application type mismatch: The argument
|
|
f
|
|
has type
|
|
?m
|
|
of sort `Sort ?u` but is expected to have type
|
|
optParam (Sort ?u) t
|
|
of sort `Type ?u` in the application
|
|
f f
|