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
1 line
127 B
Text
1 line
127 B
Text
binop_at_pattern_issue.lean:4:4-4:17: error: Invalid pattern: Expected a constructor or constant marked with `[match_pattern]`
|