mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
refactor(transformer/class-properties): remove defunct comments (#7527)
These comments are out of date / repeated elsewhere.
This commit is contained in:
parent
6655345bb9
commit
d5aaee732e
1 changed files with 0 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue