Files
king-teroandVictor M. Alvarez cdf469256b perf(parser): clear speculative errors after each top-level item (#761)
`expected_token_errors` and `unexpected_token_errors` are used to choose the best diagnostic while parsing the current top-level item. Since the parser error-recovery refactor, speculative failures from successfully parsed items remain in both maps until the whole ruleset is dropped.

---------

Co-authored-by: Victor M. Alvarez <[email protected]>
2026-09-21 15:50:32 +02:00
..