Index: compiler/javatests/com/google/dart/compiler/parser/DartASTValidator.java |
=================================================================== |
--- compiler/javatests/com/google/dart/compiler/parser/DartASTValidator.java (revision 12211) |
+++ compiler/javatests/com/google/dart/compiler/parser/DartASTValidator.java (working copy) |
@@ -61,7 +61,7 @@ |
import com.google.dart.compiler.ast.DartSyntheticErrorExpression; |
import com.google.dart.compiler.ast.DartSyntheticErrorStatement; |
import com.google.dart.compiler.ast.DartThisExpression; |
-import com.google.dart.compiler.ast.DartThrowStatement; |
+import com.google.dart.compiler.ast.DartThrowExpression; |
import com.google.dart.compiler.ast.DartTryStatement; |
import com.google.dart.compiler.ast.DartTypeExpression; |
import com.google.dart.compiler.ast.DartTypeNode; |
@@ -493,7 +493,7 @@ |
} |
@Override |
- public Void visitThrowStatement(DartThrowStatement node) { |
+ public Void visitThrowExpression(DartThrowExpression node) { |
validate(node); |
node.visitChildren(this); |
return null; |