mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 00:52:29 +03:00
cd38ef39d6
**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 |
||
---|---|---|
.. | ||
__swc_snapshots__/tests | ||
decorators | ||
explicit-resource-management | ||
decorators.rs | ||
explicit_resource_management.rs | ||
export.rs | ||
import_assertions.rs |