lean4-htt/tests/lean/389.lean.expected.out
jrr6 e9a318df16
fix: reorder "application type mismatch" message (#9287)
This PR rewords the "application type mismatch" error message so that
the argument and its type precede the application expression.
2025-07-15 19:20:18 +00:00

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