oxc/crates/oxc_semantic/tests/integration/snapshots
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
..
argument_map.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
arrow_expressions.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
assignment_operators.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
break_from_a_label_in_global_scope.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
class.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
class_extend_super.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
cond_expr_in_arrow_fn.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
conditional_expression.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
do_while_break.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
expression_spread.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
fn_return_obj_expr_with_computed_key.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
for_in.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
function_as_expression.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
function_in_finally.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
if_else.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
if_stmt_in_for_in.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
import_as_function.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
index_into_object_with_symbol_as_arg.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
indexing_into_class_expression.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
infix_operators.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
labeled_block_break.snap refactor(semantic): correct scope in CatchClause (#4192) 2024-07-11 08:45:30 +00:00
labelled_try_break.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
logical_expressions_short_circuit.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
member_access_with_numbered_index.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
member_access_with_unreachable.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
nested_computed_member_expression.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
new_and_meta.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
new_class_then_call_fn.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
object_in_computer_member_expression.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
parenthesized_and_sequence_expr.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
private_in.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
simple_spread.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
spread_in_a_spread.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
string.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
switch_in_while.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
switch_statement.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
template_literal.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
template_string.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
two_functions.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
unary_operator.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
while.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
yield_as_statement_and_expression.snap chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00