-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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(es/parser, es/codegen): Handle trailing empty slots in array patterns #9992
Conversation
🦋 Changeset detectedLatest commit: 8701c60 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
I'm not very familiar with sourcemap, do you know how to fix it? @kdy1 |
Can you add an entry to https://github.com/magic-akari/swc/blob/38801dddf4ef2e583f8622ec09a13178a3eefa48/crates/swc_ecma_codegen/tests/sourcemap.rs#L13 for now? Fixing source map issue would take some time, so I think it's better to ignore it for a fix for correctness patches about logic. |
CodSpeed Performance ReportMerging #9992 will degrade performances by 3.35%Comparing Summary
Benchmarks breakdown
|
ecacf4e
to
da40560
Compare
Related issue: