oxc/tasks
overlookmotel c0576faf80 fix(transformer/class-properties): use UID for args in created class constructor (#7866)
When creating class constructor for a class which has super class, use UID `_args` for temp var (rather than `args`). This avoids shadowing a var called `args` used in an instance property initializer.

This diverges from Babel. Babel uses `args` unless it finds a var called `args` in an instance property initializer. But searching the AST of initializers can be fairly expensive, so it's better to skip it. The overrides for test fixtures included in this PR are just to account for that difference.
2024-12-14 04:18:48 +00:00
..
ast_tools refactor(ast)!: span field must be the first element (#7821) 2024-12-12 16:50:01 +00:00
benchmark feat(sourcemap): move oxc_sourcemap to github.com/oxc-project/oxc-sourcemap (#7604) 2024-12-03 11:59:43 +00:00
common chore(doc): replace main/master to tag/commit to make the url always accessible (#7298) 2024-11-16 21:00:30 +08:00
compat_data chore(doc): replace main/master to tag/commit to make the url always accessible (#7298) 2024-11-16 21:00:30 +08:00
coverage fix(parser): parse import source from 'mod' (#7833) 2024-12-13 10:26:36 +00:00
javascript_globals feat(linter)!: sync sindresorhus/globals; removed Object.prototype properties from builtin and es* globals (#6991) 2024-10-29 04:13:20 +00:00
lint_rules fix(tasks/lint_rules): map prefix node to n (#7397) 2024-11-21 13:58:53 +00:00
minsize test(minifier): reformat minsize table (#7678) 2024-12-05 12:16:29 +00:00
prettier_conformance refactor(prettier): Align exported function names to Prettier (#7827) 2024-12-13 17:06:15 +08:00
rulegen feat(linter)!: remove unmaintained security plugin (#7773) 2024-12-10 14:29:22 +00:00
transform_checker chore: Rust v1.83.0 changes (#7535) 2024-11-29 11:59:45 +08:00
transform_conformance fix(transformer/class-properties): use UID for args in created class constructor (#7866) 2024-12-14 04:18:48 +00:00
website feat(linter)!: remove unmaintained security plugin (#7773) 2024-12-10 14:29:22 +00:00