swc/crates/swc_ecma_transforms_compat/tests
Donny/강동윤 f5c62fbbf8
fix(es/compat): Fix finally handling of generator (#7215)
**Description:**

Update generator implementation to match
e83d61398e/src/compiler/transformers/generators.ts

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5913.
2023-04-06 09:37:21 +00:00
..
arrow test(ts/compat): Migrate inline tests to fixture testing (#6475) 2022-11-28 04:54:38 +00:00
async-to-generator fix(es/compat): Fix finally handling of generator (#7215) 2023-04-06 09:37:21 +00:00
block-scoping refactor(es/resolver): Make syntax context for unresolved and top-level stable (#7096) 2023-03-20 11:01:19 +09:00
class_fields_use_set/basic fix(es/compat): Handle useDefineForClassFields: false (#7055) 2023-03-12 12:56:10 +09:00
classes fix(es/helpers): Use snake_case for helpers (#7147) 2023-03-31 15:15:21 +09:00
for-of test(ts/compat): Migrate inline tests to fixture testing (#6475) 2022-11-28 04:54:38 +00:00
new-target fix(es/helpers): Use snake_case for helpers (#7147) 2023-03-31 15:15:21 +09:00
opt-chain test(es/compat): Add a test for a fixed issue (#6887) 2023-01-31 15:01:57 +00:00
parameters/issue-6790/1 test(es/compat): Add a test to verify parameters passs (#6792) 2023-01-12 15:54:36 +09:00
private-in-object fix(es/helpers): Use snake_case for helpers (#7147) 2023-03-31 15:15:21 +09:00
static-blocks fix(es/helpers): Use snake_case for helpers (#7147) 2023-03-31 15:15:21 +09:00
class_fields_use_set.rs build(cargo): Update rustc to nightly-2023-03-20 (#7170) 2023-03-30 08:06:02 +00:00
es2015_arrow.rs test(ts/compat): Migrate inline tests to fixture testing (#6475) 2022-11-28 04:54:38 +00:00
es2015_block_scoping.rs fix(es/helpers): Use snake_case for helpers (#7147) 2023-03-31 15:15:21 +09:00
es2015_classes.rs fix(es/helpers): Use snake_case for helpers (#7147) 2023-03-31 15:15:21 +09:00
es2015_computed_props.rs fix(es/helpers): Use snake_case for helpers (#7147) 2023-03-31 15:15:21 +09:00
es2015_destructuring.rs fix(es/helpers): Use snake_case for helpers (#7147) 2023-03-31 15:15:21 +09:00
es2015_duplicated_keys.rs fix(es/helpers): Use snake_case for helpers (#7147) 2023-03-31 15:15:21 +09:00
es2015_for_of.rs build(cargo): Update rustc to nightly-2023-03-20 (#7170) 2023-03-30 08:06:02 +00:00
es2015_generator.rs fix(es/compat): Fix finally handling of generator (#7215) 2023-04-06 09:37:21 +00:00
es2015_new_target.rs fix(es/helpers): Use snake_case for helpers (#7147) 2023-03-31 15:15:21 +09:00
es2015_object_super.rs fix(es/helpers): Use snake_case for helpers (#7147) 2023-03-31 15:15:21 +09:00
es2015_parameters.rs fix(es/helpers): Use snake_case for helpers (#7147) 2023-03-31 15:15:21 +09:00
es2015_spread.rs fix(es/helpers): Use snake_case for helpers (#7147) 2023-03-31 15:15:21 +09:00
es2015_template_literals.rs fix(es/helpers): Use snake_case for helpers (#7147) 2023-03-31 15:15:21 +09:00
es2017_async_to_generator.rs fix(es/helpers): Use snake_case for helpers (#7147) 2023-03-31 15:15:21 +09:00
es2018_object_rest_spread.rs fix(es/helpers): Use snake_case for helpers (#7147) 2023-03-31 15:15:21 +09:00
es2020_nullish_coalescing.rs build(cargo): Update rustc to nightly-2023-03-20 (#7170) 2023-03-30 08:06:02 +00:00
es2020_optional_chaining.rs build(cargo): Update rustc to nightly-2023-03-20 (#7170) 2023-03-30 08:06:02 +00:00
es2021_logcal_assignments.rs fix(es/compat): Fix the position for temp var injection (#7171) 2023-03-30 17:41:55 +09:00
es2022_class_properties.rs fix(es/helpers): Use snake_case for helpers (#7147) 2023-03-31 15:15:21 +09:00
es2022_private_in_object.rs build(cargo): Update rustc to nightly-2023-03-20 (#7170) 2023-03-30 08:06:02 +00:00
es2022_static_blocks.rs build(cargo): Update rustc to nightly-2023-03-20 (#7170) 2023-03-30 08:06:02 +00:00