oxc/crates
Dunqing f80085c683 refactor(transformer/async-to-generator): move handling of MethodDefinition's value to exit_function (#7105)
Part of #7074

We need to handle this before the `arrow_function` plugin inserts `_this = this` because, in the `async-to-generator` plugin, we will move the body to an inner generator function. However, we don't want `_this = this` moved to the inner generator function as well. So as long as we move first, and then insert, we can fix this problem.

The new semantic error is related to another tricky problem, I will fix it in another PR
2024-11-04 14:32:42 +00:00
..
oxc release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_allocator release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_ast release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_ast_macros release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_cfg release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_codegen release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_data_structures release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_diagnostics release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_ecmascript release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_estree release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_index release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_isolated_declarations release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_language_server feat(linter): do not bail for unmatched rules yet (#7093) 2024-11-03 11:18:36 +08:00
oxc_linter fix(linter): fix is_method_call with parentheses and chain expression (#7095) 2024-11-04 11:12:37 +08:00
oxc_macros feat(linter): support user-configurable secrets for oxc-security/api-keys (#5938) 2024-10-28 18:55:19 +00:00
oxc_mangler release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_minifier release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_module_lexer release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_parser release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_prettier refactor(rust): remove the annoying clippy::wildcard_imports (#6860) 2024-10-24 13:57:19 +00:00
oxc_regular_expression release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_semantic release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_sourcemap release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_span release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_syntax release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_transformer refactor(transformer/async-to-generator): move handling of MethodDefinition's value to exit_function (#7105) 2024-11-04 14:32:42 +00:00
oxc_traverse release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_wasm feat(transformer): add TransformerOptions::env with EnvOptions (#7037) 2024-10-31 12:30:32 +00:00