zig icon indicating copy to clipboard operation
zig copied to clipboard

Report mismatched parentheses before more specific errors

Open tau-dev opened this issue 1 year ago • 0 comments

Addresses #18597 (the specific case presented there, but not the general goal of that issue) by checking for mismatched parentheses after a parser error. Unclosed parens are often a root cause of otherwise much-more-cryptic errors, so reporting them should have priority.

tau-dev avatar Jul 23 '24 20:07 tau-dev