diff --git a/crates/oxc_transformer/src/es2022/class_properties/private.rs b/crates/oxc_transformer/src/es2022/class_properties/private.rs index bc938e64c..1c173eaad 100644 --- a/crates/oxc_transformer/src/es2022/class_properties/private.rs +++ b/crates/oxc_transformer/src/es2022/class_properties/private.rs @@ -192,9 +192,6 @@ impl<'a, 'ctx> ClassProperties<'a, 'ctx> { // Get replacement for callee let replacement = if prop.is_static { - // TODO: If `object` is reference to class name, and class is declaration, use shortcut `_prop._.call(Class)`. - // TODO(improve-on-babel): No reason not to apply these shortcuts for class expressions too. - // `object.#prop(arg)` -> `_assertClassBrand(Class, object, _prop)._.call(object, arg)` // or shortcut `_prop._.call(object, arg)` let class_name_binding = class_name_binding.as_ref().unwrap();