From 5a23d72b37fab1d63cd5e30ce454bb05918837d6 Mon Sep 17 00:00:00 2001 From: overlookmotel <557937+overlookmotel@users.noreply.github.com> Date: Wed, 18 Dec 2024 16:51:35 +0000 Subject: [PATCH] refactor(transformer/class-properties): remove outdated comment (#8000) --- .../oxc_transformer/src/es2022/class_properties/constructor.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/oxc_transformer/src/es2022/class_properties/constructor.rs b/crates/oxc_transformer/src/es2022/class_properties/constructor.rs index aac84b1917ddb..84737c1116ecb 100644 --- a/crates/oxc_transformer/src/es2022/class_properties/constructor.rs +++ b/crates/oxc_transformer/src/es2022/class_properties/constructor.rs @@ -219,8 +219,6 @@ impl<'a, 'ctx> ClassProperties<'a, 'ctx> { constructor_index: usize, ctx: &mut TraverseCtx<'a>, ) { - // TODO: Handle where vars used in property init clash with vars in top scope of constructor. - // (or maybe do that earlier?) // TODO: Handle private props in constructor params `class C { #x; constructor(x = this.#x) {} }`. match insertion_location {