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/compat): Remove usage of box_patterns #7613

Conversation

dsherret
Copy link
Contributor

@dsherret dsherret commented Jul 2, 2023

I know it's more painful, but allows swc_ecma_transforms_compat to compile without a nightly compiler. I really wish there were box patterns in stable rust (or I guess now deref patterns).

Added in https://github.com/swc-project/swc/pull/7530/files?file-filters%5B%5D=.rs&show-viewed-files=true#diff-df2677fffc3c16f81f8e400f8d94cb7530e35bcf1ccf06dcbe0713cee22de5a3R6

@kdy1 kdy1 added this to the Planned milestone Jul 3, 2023
@kdy1 kdy1 changed the title fix(transforms/compat): remove unstable box patterns use refactor(es/compat): Remove usage of box_patterns Jul 3, 2023
@kdy1 kdy1 enabled auto-merge (squash) July 3, 2023 01:51
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.

swc-bump:

  • swc_ecma_transforms_compat

@kdy1 kdy1 merged commit 0a26066 into swc-project:main Jul 3, 2023
128 checks passed
@dsherret dsherret deleted the fix_remove_unstable_box_patterns_transforms_compat branch July 3, 2023 02:44
@kdy1 kdy1 modified the milestones: Planned, v1.3.68 Jul 5, 2023
@swc-project swc-project locked as resolved and limited conversation to collaborators Aug 4, 2023
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.

None yet

2 participants