Skip to content
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

fix: enhance precompile blank for parser error workaround #2173

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

jasonlyu123
Copy link
Member

For the specific case of #2168. The blanking pre-process currently will stop whenever it encounters a char that is not something we want to blank. But it's probably safe to skip ] and ) and continue checking operators to blank. Haven't thought of cases where it might be not safe

Copy link
Member

@dummdidumm dummdidumm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also can't think of a case where it breaks - let's try this 👍

@dummdidumm dummdidumm merged commit 4424524 into sveltejs:master Oct 10, 2023
2 checks passed
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.

2 participants