Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Dec 18, 2024
1 parent 59bf759 commit a69f792
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/oxc_transformer/src/es2022/class_properties/class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,9 @@ impl<'a, 'ctx> ClassProperties<'a, 'ctx> {
return;
}

// Deal with exit from class expression in `exit_expression`
// Deal with exit from class expression in `transform_class_expression_on_exit`
let class_details = self.current_class_mut();
if !class_details.is_declaration {
// Handle class expressions in `exit_expression`
return;
}

Expand Down

0 comments on commit a69f792

Please sign in to comment.