From 18441afe1cd7869a6f3d6093ab0583b4795089b6 Mon Sep 17 00:00:00 2001 From: Dunqing <29533304+Dunqing@users.noreply.github.com> Date: Tue, 17 Dec 2024 04:41:09 +0000 Subject: [PATCH] docs(transformer/class-properties): remove oudated todo for assignment expression (#7955) --- .../src/es2022/class_properties/private_field.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/oxc_transformer/src/es2022/class_properties/private_field.rs b/crates/oxc_transformer/src/es2022/class_properties/private_field.rs index 4783f82f02563..9266408765854 100644 --- a/crates/oxc_transformer/src/es2022/class_properties/private_field.rs +++ b/crates/oxc_transformer/src/es2022/class_properties/private_field.rs @@ -597,8 +597,6 @@ impl<'a, 'ctx> ClassProperties<'a, 'ctx> { let prop_ident = prop_binding.create_read_expression(ctx); - // TODO: Different output in for statements e.g. `private/1-helpermemberexpressionfunction/input.js` - if operator == AssignmentOperator::Assign { // `object.#prop = value` -> `_classPrivateFieldSet2(_prop, object, value)` *expr = self.create_private_field_set(prop_ident, object, value, span, ctx);