| Index: compiler/java/com/google/dart/compiler/ast/DartFunctionTypeAlias.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartFunctionTypeAlias.java b/compiler/java/com/google/dart/compiler/ast/DartFunctionTypeAlias.java
|
| index 22dac3c032c62b3834ea2a669b98a33dffe971c1..ad23e0da52ae85021126d4319cae4a8f70f65156 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/DartFunctionTypeAlias.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/DartFunctionTypeAlias.java
|
| @@ -56,19 +56,7 @@ public class DartFunctionTypeAlias extends DartDeclaration<DartIdentifier> imple
|
| }
|
|
|
| @Override
|
| - public void traverse(DartVisitor v, DartContext ctx) {
|
| - if (v.visit(this, ctx)) {
|
| - if (returnTypeNode != null) {
|
| - returnTypeNode = becomeParentOf(v.accept(returnTypeNode));
|
| - }
|
| - v.acceptWithInsertRemove(this, parameters);
|
| - v.acceptWithInsertRemove(this, typeParameters);
|
| - }
|
| - v.endVisit(this, ctx);
|
| - }
|
| -
|
| - @Override
|
| - public void visitChildren(DartPlainVisitor<?> visitor) {
|
| + public void visitChildren(ASTVisitor<?> visitor) {
|
| if (returnTypeNode != null) {
|
| returnTypeNode.accept(visitor);
|
| }
|
| @@ -77,7 +65,7 @@ public class DartFunctionTypeAlias extends DartDeclaration<DartIdentifier> imple
|
| }
|
|
|
| @Override
|
| - public <R> R accept(DartPlainVisitor<R> visitor) {
|
| + public <R> R accept(ASTVisitor<R> visitor) {
|
| return visitor.visitFunctionTypeAlias(this);
|
| }
|
| }
|
|
|