swc/crates/swc_ecma_transforms_proposal/tests
phiresky cd38ef39d6
fix(es/helpers): Add addInitializer to field decorators (#8619)
**Description:**

At some point the spec text of ES decorators was changed to also have
addInitializer for field decorators. This is already used e.g. in mobx.
This simple change removes the special case that was present for field
decorators and seems to fix the issue for me.

This change is backwards compatible since it only affects code that was
broken before.

**Related issue:**

 - Closes #8525
2024-02-14 03:21:58 +00:00
..
__swc_snapshots__/tests feat(es/testing): Use __swc_snapshots__ for test! macro (#8191) 2023-10-30 10:38:59 +09:00
decorators fix(es/helpers): Add addInitializer to field decorators (#8619) 2024-02-14 03:21:58 +00:00
explicit-resource-management fix(es/proposals): Support using using keyword with functions (#8574) 2024-01-30 15:55:43 +09:00
decorators.rs fix(es/decorators): Do not insert duplicate constructors (#8631) 2024-02-13 02:57:03 +00:00
explicit_resource_management.rs feat(es/ast): Support import attributes proposal (#7868) 2023-08-28 00:29:45 +00:00
export.rs feat(es/testing): Use __swc_snapshots__ for test! macro (#8191) 2023-10-30 10:38:59 +09:00
import_assertions.rs feat(es/testing): Use __swc_snapshots__ for test! macro (#8191) 2023-10-30 10:38:59 +09:00