Skip to content

Commit

Permalink
Update crates/oxc_transformer/src/es2022/class_properties/supers.rs
Browse files Browse the repository at this point in the history
Co-authored-by: overlookmotel <[email protected]>
  • Loading branch information
Dunqing and overlookmotel authored Dec 12, 2024
1 parent 018bc2a commit ef63135
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ impl<'a, 'ctx> ClassProperties<'a, 'ctx> {
property: Expression<'a>,
ctx: &mut TraverseCtx<'a>,
) -> Expression<'a> {
let class_binding = self.class_bindings.get_or_init_temp_binding(ctx);
let class_binding = self.get_temp_binding(ctx);
// (_classBinding, "prop", _classBinding)
let arguments = ctx.ast.vec_from_array([
Argument::from(class_binding.create_read_expression(ctx)),
Expand Down

0 comments on commit ef63135

Please sign in to comment.