Skip to content

Commit

Permalink
TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Nov 19, 2024
1 parent 1c26b3a commit 6db7c89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/oxc_transformer/src/es2022/class_properties.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1246,6 +1246,8 @@ 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);
Expand Down

0 comments on commit 6db7c89

Please sign in to comment.