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

Migration from SWC Fold to VisitMut #9854

Open
4 of 7 tasks
yamadapc opened this issue Jul 17, 2024 · 0 comments
Open
4 of 7 tasks

Migration from SWC Fold to VisitMut #9854

yamadapc opened this issue Jul 17, 2024 · 0 comments

Comments

@yamadapc
Copy link
Contributor

yamadapc commented Jul 17, 2024

At the moment parcel will segfault on certain cases due to running out of stack space.

This is due to usage of SWC Fold primitive.

https://rustdoc.swc.rs/swc_visit/index.html#fold-vs-visitmut

This issue will track replacing usage of Fold with VisitMut and improving test coverage of the SWC transformations built into parcel's default JS transformer.

yamadapc pushed a commit that referenced this issue Jul 17, 2024
This is related to #9854.

A subsequent commit will add a VisitMut implementation and switch it over.
yamadapc pushed a commit that referenced this issue Jul 17, 2024
yamadapc added a commit that referenced this issue Jul 18, 2024
* Add exhaustive tests for NodeReplacer

This is related to #9854.

A subsequent commit will add a VisitMut implementation and switch it over.

* Refactor node replacer to use VisitMut

This contributes to #9854.

---------

Co-authored-by: pyamada (RDE) <pyamada@atlassian.com>
yamadapc added a commit to yamadapc/parcel that referenced this issue Jul 18, 2024
yamadapc pushed a commit that referenced this issue Jul 26, 2024
yamadapc pushed a commit that referenced this issue Jul 26, 2024
This contributes to #9854.

This isn't exhaustive because there are quite a few branches related to
library and script builds.
yamadapc added a commit that referenced this issue Jul 26, 2024
This contributes to #9854.

This isn't exhaustive because there are quite a few branches related to
library and script builds.

Co-authored-by: pyamada (RDE) <pyamada@atlassian.com>
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

No branches or pull requests

1 participant