Index: compiler/java/com/google/dart/compiler/ast/ASTVisitor.java |
diff --git a/compiler/java/com/google/dart/compiler/ast/ASTVisitor.java b/compiler/java/com/google/dart/compiler/ast/ASTVisitor.java |
index 774c2e4c084f0cf096a31ed15e72e0c5752bdb29..eac2a2e3e8c0328e5bf2cb7389bb6baad966cbc1 100644 |
--- a/compiler/java/com/google/dart/compiler/ast/ASTVisitor.java |
+++ b/compiler/java/com/google/dart/compiler/ast/ASTVisitor.java |
@@ -85,10 +85,6 @@ public class ASTVisitor<R> { |
return visitTypedLiteral(node); |
} |
- public R visitAssertion(DartAssertion node) { |
- return visitStatement(node); |
- } |
- |
public R visitBinaryExpression(DartBinaryExpression node) { |
return visitExpression(node); |
} |
@@ -96,6 +92,10 @@ public class ASTVisitor<R> { |
public R visitBlock(DartBlock node) { |
return visitStatement(node); |
} |
+ |
+ public R visitReturnBlock(DartReturnBlock node) { |
+ return visitBlock(node); |
+ } |
public R visitBooleanLiteral(DartBooleanLiteral node) { |
return visitLiteral(node); |