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

Remove Babel object spread transformation #3577

Closed
Tracked by #2964
nolanlawson opened this issue Jun 15, 2023 · 2 comments · Fixed by #3654
Closed
Tracked by #2964

Remove Babel object spread transformation #3577

nolanlawson opened this issue Jun 15, 2023 · 2 comments · Fixed by #3654

Comments

@nolanlawson
Copy link
Contributor

nolanlawson commented Jun 15, 2023

Remove this transformation:

babelObjectRestSpreadPlugin,

This was needed for compat with older browsers, but is no longer needed.

Unfortunately, removing it would be an observable change; here is a list of bugs with the Babel implementation.

I tested a couple of them and verified that they still reproduce a difference between native V8 and Babel.

@nolanlawson
Copy link
Contributor Author

This repro in particular still seems to show a difference between Babel and native: babel/babel#10743 (REPL)

@git2gus
Copy link

git2gus bot commented Jun 23, 2023

This issue has been linked to a new work item: W-13653003

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant