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

Fix switch(boolean) in dead_branch_remover #2373

Merged
merged 2 commits into from
Oct 8, 2021

Conversation

mischnic
Copy link
Contributor

@mischnic mischnic commented Oct 7, 2021

Closes #2328

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 added this to the v1.2.94 milestone Oct 8, 2021
@kdy1 kdy1 enabled auto-merge (squash) October 8, 2021 02:55
@kdy1 kdy1 disabled auto-merge October 8, 2021 02:55
@kdy1 kdy1 merged commit 1f99c3a into swc-project:master Oct 8, 2021
kdy1 pushed a commit to kdy1/swc that referenced this pull request Oct 9, 2021
…ct#2373)

swc_ecma_transforms_optimization:
 - `dead_branch_remover`: Fix handling of `switch(boolean)`.
@swc-project swc-project locked as resolved and limited conversation to collaborators Nov 7, 2022
@mischnic mischnic deleted the switch-boolean-simplify-2328 branch April 5, 2023 14:29
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.

Spack wrong handles dead branches of switch block
2 participants