refactor(ListWrapper): drop forEach and removeLast

Closes #4584
This commit is contained in:
Victor Berchet
2015-10-07 09:09:43 -07:00
parent 4ed642f921
commit aee176115b
35 changed files with 71 additions and 104 deletions

View File

@ -221,7 +221,7 @@ export class RecursiveAstVisitor implements AstVisitor {
return this.visitAll(ast.args);
}
visitAll(asts: AST[]): any {
ListWrapper.forEach(asts, (ast) => { ast.visit(this); });
asts.forEach(ast => ast.visit(this));
return null;
}
}