| Index: compiler/java/com/google/dart/compiler/ast/DartVariableStatement.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartVariableStatement.java b/compiler/java/com/google/dart/compiler/ast/DartVariableStatement.java
|
| index 7d28b8eec6f545c31ceb9d57d7dc6fbe90a6fc52..e3d18e2978054665f8c774527c9d3ee8b025cf4b 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/DartVariableStatement.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/DartVariableStatement.java
|
| @@ -38,18 +38,7 @@ public class DartVariableStatement extends DartStatement {
|
| }
|
|
|
| @Override
|
| - public void traverse(DartVisitor v, DartContext ctx) {
|
| - if (v.visit(this, ctx)) {
|
| - if (typeNode != null) {
|
| - typeNode = becomeParentOf(v.accept(typeNode));
|
| - }
|
| - v.acceptWithInsertRemove(this, getVariables());
|
| - }
|
| - v.endVisit(this, ctx);
|
| - }
|
| -
|
| - @Override
|
| - public void visitChildren(DartPlainVisitor<?> visitor) {
|
| + public void visitChildren(ASTVisitor<?> visitor) {
|
| if (typeNode != null) {
|
| typeNode.accept(visitor);
|
| }
|
| @@ -57,7 +46,7 @@ public class DartVariableStatement extends DartStatement {
|
| }
|
|
|
| @Override
|
| - public <R> R accept(DartPlainVisitor<R> visitor) {
|
| + public <R> R accept(ASTVisitor<R> visitor) {
|
| return visitor.visitVariableStatement(this);
|
| }
|
| }
|
|
|