lean4-htt/tests/lean/elseifDoErrorPos.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
335 B
Text

elseifDoErrorPos.lean:4:10-4:11: error: Application type mismatch: The argument
x
has type
Nat
but is expected to have type
Prop
in the application
@ite ?m x
elseifDoErrorPos.lean:7:11-7:14: error: Application type mismatch: The argument
"a"
has type
String
but is expected to have type
Nat
in the application
pure "a"