File tree 1 file changed +0
-12
lines changed
src/com/google/javascript/jscomp
1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -671,18 +671,6 @@ public CssRenamingMap.Style getStyle() {
671
671
672
672
/** Process a goog.addDependency() call and record any forward declarations. */
673
673
private void processAddDependency (Node n ) {
674
- CodingConvention convention = compiler .getCodingConvention ();
675
- List <String > typeDecls =
676
- convention .identifyTypeDeclarationCall (n );
677
-
678
- // TODO(nnaze): Use of addDependency() should someday cause a warning
679
- // as we migrate users to explicit goog.forwardDeclare() calls.
680
- if (typeDecls != null ) {
681
- for (String typeDecl : typeDecls ) {
682
- compiler .forwardDeclareType (typeDecl );
683
- }
684
- }
685
-
686
674
// We can't modify parent, so just create a node that will
687
675
// get compiled out.
688
676
Node emptyNode = IR .number (0 );
You can’t perform that action at this time.
0 commit comments