Closed c42f closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
acb609d
) 96.64% compared to head (d20307c
) 95.83%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
A thought on this: when the tokes are paired, it could be helpful to highlight the corresponding un-paired token.
For example, here's some (lisp) code in my editor when I delete an opening paren:
When a missing closing token like
)
,]
or}
is encountered we want the "Expected)
" error to point to a location one past the last valid token, not to the trailing error tokens.For example from #349 here's a poor error message from the existing code:
After this change, the error location instead points to the end of the last valid line:
Fix #349, fix #313