lean4-htt/tests/lean/243.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

16 lines
324 B
Text

243.lean:2:10-2:14: error: Application type mismatch: The argument
true
has type
_root_.Bool
but is expected to have type
Bool
in the application
⟨Bool, true⟩
243.lean:13:7-13:8: error: Application type mismatch: The argument
a
has type
Foo.A
but is expected to have type
A
in the application
⟨A, a⟩