Skip to content

fix: skip zero-width error tokens in last_non_whitespace_byte #566

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2025

Conversation

pfitzseb
Copy link
Member

to ensure that let x = 1 # comment is treated as an incomplete expression.

Fixes #565.

to ensure that `let x = 1 # comment` is treated as an incomplete expression
@Keno Keno merged commit 71320ea into main Jun 24, 2025
36 checks passed
@Keno Keno deleted the sp/skip-zero-width-tokens branch June 24, 2025 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

let x = 1 # ParseError
2 participants