lean4-htt/tests/lean/1057.lean.expected.out
Joachim Breitner 8431088c93
fix: preserve error locations when expanding match arms (#10783)
This PR ensures that error messages such as “redundant alternative” have
the right error location even if the arms share their RHS. Fixes #10781.
2025-10-15 13:31:42 +00:00

4 lines
174 B
Text

1057.lean:9:4-9:15: error: Dependent elimination failed: Type mismatch when solving this alternative: it has type
motive t Int
but is expected to have type
motive t x✝