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

13 lines
370 B
Text

macroSwizzle.lean:4:7-4:23: error: failed to synthesize
HAdd Bool String ?m
Hint: Additional diagnostic information may be available using the `set_option diagnostics true` command.
macroSwizzle.lean:6:7-6:10: error: Application type mismatch: The argument
"x"
has type
String
but is expected to have type
Nat
in the application
Nat.succ "x"
sorry.succ : Nat