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: delegate DropSpan to swc_ecmascript::utils #524

Merged
merged 2 commits into from Nov 9, 2020

Conversation

magurotuna
Copy link
Member

We have a utility for dropping span from Expr in src/swc_util.rs and use it in no-dupe-else-if implementation.
But as described in #520 (comment), the same utility exists in swc_ecmascript. So in this PR, I removed our utility, and delegated it to swc_ecmascript.

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM, nice cleanup

@bartlomieju bartlomieju merged commit 1236b02 into denoland:master Nov 9, 2020
@magurotuna magurotuna deleted the remove-dropspan branch November 9, 2020 14:23
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

Successfully merging this pull request may close these issues.

None yet

2 participants