lean4-htt/tests/lean/690.lean.expected.out
jrr6 d1ec806834
feat: improve error messages in invalid match alternatives (#8368)
This PR improves the error messages produced by invalid pattern-match
alternatives and improves parity in error placement between
pattern-matching tactics and elaborators.

Closes #7170
2025-05-19 17:40:41 +00:00

13 lines
381 B
Text

690.lean:3:2-3:29: error: Too many variable names provided at alternative 'step': 3 provided, but 2 expected
case step
a b m✝ : Nat
hStep : a.le m✝
ih : a.le (m✝ + 1)
⊢ a.le (m✝.succ + 1)
690.lean:6:0-6:7: warning: declaration uses 'sorry'
case step
a b x : Nat
hStep : a.le x
ih : a.le (x + 1)
⊢ a.le (x.succ + 1)
690.lean:11:0-11:7: warning: declaration uses 'sorry'