-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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: find whitespace from operator position to start #5584
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thank you for your contribution! ❤️You can try out this pull request locally by installing Rollup via npm install rollup/rollup#fix-5583 Notice: Ensure you have installed the latest stable Rust toolchain. If you haven't installed it yet, please see https://www.rust-lang.org/tools/install to learn how to download Rustup and install Rust. or load it into the REPL: |
Performance report!Rough benchmark
Internal benchmark
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5584 +/- ##
=======================================
Coverage 99.05% 99.05%
=======================================
Files 241 241
Lines 9273 9280 +7
Branches 2444 2446 +2
=======================================
+ Hits 9185 9192 +7
Misses 58 58
Partials 30 30 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for the fix! This makes me wonder if we should not consider including ParenthesizedExpression nodes at some point, even if they are non-standard. But maybe they would cause more problems in other areas...
This PR has been released as part of rollup@4.19.1. You can test it via |
The SWC AST include |
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
resolves #5583
Description