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

refactor(es/transforms/bugfix): visit_mut for edge_default_param #2676

Merged

Conversation

kwonoj
Copy link
Member

@kwonoj kwonoj commented Nov 7, 2021

Context: https://discordapp.com/channels/889779439272075314/889785438938726441/906736454737219614

This PR attempts to replace existing fold in edge_default_param bugfix to visitor. The only reason I choose this module is this looks one of the smallest path I could try to migrate.

Change's mostly straightforward, except couple of changes: 1. uses as_folder to plug migrated visitor to existing logics 2. instead of mapping props to reassign, directly replace elements in the vec.

@kdy1 kdy1 added this to the v1.2.108 milestone Nov 8, 2021
Copy link
Member

@kdy1 kdy1 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@kdy1 kdy1 enabled auto-merge (squash) November 8, 2021 06:07
@kdy1 kdy1 merged commit 8915913 into swc-project:master Nov 8, 2021
@kwonoj kwonoj deleted the refactor-visit_mut-edge-default-bugfix branch November 8, 2021 06:41
@swc-project swc-project locked as resolved and limited conversation to collaborators Nov 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants