Skip to content

Commit 2d25f00

Browse files
rishipalcopybara-github
authored andcommitted
Delete misleading comment in Es6ConvertSuper
The pass does not completely remove the Feature.SUPER from the AST. It only rewrites `super.method()`. The super() rewriting happens later during Es6ConvertSuperConstructorCalls inside class rewriting. PiperOrigin-RevId: 623232913
1 parent 09f2d9b commit 2d25f00

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/com/google/javascript/jscomp/Es6ConvertSuper.java

-1
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,5 @@ public void process(Node externs, Node root) {
226226
// Might need to synthesize constructors for ambient classes in .d.ts externs
227227
TranspilationPasses.processTranspile(compiler, externs, FEATURES_TO_RUN_FOR, this);
228228
TranspilationPasses.processTranspile(compiler, root, FEATURES_TO_RUN_FOR, this);
229-
// TODO(rishipal): mark super feature as transpiled away
230229
}
231230
}

0 commit comments

Comments
 (0)