oxc/crates
overlookmotel 1b12328f87 refactor(transformer/async-generator-functions): use clone not clone_in on LabelIdentifier (#7172)
Follow-on after stack up to #7148.

Small optimization. `LabelIdentifier` is `Clone` so we can use `Clone::clone` to clone it, instead of `CloneIn::clone_in`.

The difference is that `clone_in` makes a 2nd copy of the `Atom`'s string in the arena, whereas `clone` creates a new `Atom` referencing the same string. This is an unfortunate shortcoming of `CloneIn` (https://github.com/oxc-project/backlog/issues/96), but the more we can avoid `CloneIn`, the better.
2024-11-06 16:06:48 +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 feat(ast)!: change comment.span to real position that contain // and /* (#7154) 2024-11-06 05:10:33 +00: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 feat(ast)!: change comment.span to real position that contain // and /* (#7154) 2024-11-06 05:10:33 +00: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 feat(ast)!: change comment.span to real position that contain // and /* (#7154) 2024-11-06 05:10:33 +00:00
oxc_language_server feat(linter): do not bail for unmatched rules yet (#7093) 2024-11-03 11:18:36 +08:00
oxc_linter refactor(linter): use ctx.source_range(comment.content_span()) API (#7155) 2024-11-06 06:25:05 +00: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 feat(ast)!: change comment.span to real position that contain // and /* (#7154) 2024-11-06 05:10:33 +00:00
oxc_prettier feat(ast)!: change comment.span to real position that contain // and /* (#7154) 2024-11-06 05:10:33 +00:00
oxc_regular_expression release(crates): v0.35.0 (#7110) 2024-11-04 17:40:05 +08:00
oxc_semantic feat(ast)!: change comment.span to real position that contain // and /* (#7154) 2024-11-06 05:10:33 +00: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-generator-functions): use clone not clone_in on LabelIdentifier (#7172) 2024-11-06 16:06:48 +00:00
oxc_traverse refactor(traverse): use symbol_id etc methods (#7129) 2024-11-05 02:25:28 +00:00
oxc_wasm feat(ast)!: change comment.span to real position that contain // and /* (#7154) 2024-11-06 05:10:33 +00:00