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

2 lines
256 B
Text

tooManyVarsAtInduction.lean:3:2-3:31: error: Too many variable names provided at alternative 'succ': 4 provided, but 2 expected
tooManyVarsAtInduction.lean:8:2-8:22: error: Too many variable names provided at alternative 'succ': 2 provided, but 1 expected