oxc/crates
Dunqing 7f1adddaf0 refactor(semantic): correct scope in CatchClause (#4192)
close: #4186

CatchClause has two scopes. The first one is `CatchClause`, which will add a `CatchParameter` to it. The second one is `Block`, which will add binding that declares in the current block scope.

The spec has a syntax error about `CatchParameter`
- It is a Syntax Error if any element of the BoundNames of CatchParameter also occurs in the LexicallyDeclaredNames of Block.
2024-07-11 08:45:30 +00:00
..
oxc Release crates v0.20.0 (#4189) 2024-07-11 11:05:49 +08:00
oxc_allocator Release crates v0.20.0 (#4189) 2024-07-11 11:05:49 +08:00
oxc_ast refactor(semantic): correct scope in CatchClause (#4192) 2024-07-11 08:45:30 +00:00
oxc_ast_macros Release crates v0.20.0 (#4189) 2024-07-11 11:05:49 +08:00
oxc_cfg Release crates v0.20.0 (#4189) 2024-07-11 11:05:49 +08:00
oxc_codegen refactor(codegen): improve print API (#4196) 2024-07-11 08:41:04 +00:00
oxc_diagnostics Release crates v0.20.0 (#4189) 2024-07-11 11:05:49 +08:00
oxc_index Release crates v0.20.0 (#4189) 2024-07-11 11:05:49 +08:00
oxc_isolated_declarations Release crates v0.20.0 (#4189) 2024-07-11 11:05:49 +08:00
oxc_js_regex chore: crates should only publish src and examples directory 2024-06-08 16:35:16 +08:00
oxc_language_server refactor(linter): LintContext can now only be constructed with a cfg enabled semantic. (#3761) 2024-06-19 13:01:33 +00:00
oxc_linter refactor(semantic): correct scope in CatchClause (#4192) 2024-07-11 08:45:30 +00:00
oxc_macros chore: do not compile test crates that have no tests 2024-06-24 00:20:04 +08:00
oxc_minifier feat(minifier): dce conditional expression && or || (#4190) 2024-07-11 04:40:23 +00:00
oxc_module_lexer Release crates v0.20.0 (#4189) 2024-07-11 11:05:49 +08:00
oxc_parser Release crates v0.20.0 (#4189) 2024-07-11 11:05:49 +08:00
oxc_prettier refactor(ast)!: store span details inside comment struct (#4132) 2024-07-09 23:23:43 +08:00
oxc_semantic refactor(semantic): correct scope in CatchClause (#4192) 2024-07-11 08:45:30 +00:00
oxc_sourcemap Release crates v0.20.0 (#4189) 2024-07-11 11:05:49 +08:00
oxc_span Release crates v0.20.0 (#4189) 2024-07-11 11:05:49 +08:00
oxc_syntax Release crates v0.20.0 (#4189) 2024-07-11 11:05:49 +08:00
oxc_transformer Release crates v0.20.0 (#4189) 2024-07-11 11:05:49 +08:00
oxc_traverse Release crates v0.20.0 (#4189) 2024-07-11 11:05:49 +08:00
oxc_wasm fix(wasm): codegen is broken due to preserve_parens(false) 2024-07-11 01:33:10 +08:00