Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Unified Diff: compiler/javatests/com/google/dart/compiler/parser/DartASTValidator.java

Issue 10827286: Fix for issue 4429 - remove #resource directive (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: compiler/javatests/com/google/dart/compiler/parser/DartASTValidator.java
===================================================================
--- compiler/javatests/com/google/dart/compiler/parser/DartASTValidator.java (revision 10526)
+++ compiler/javatests/com/google/dart/compiler/parser/DartASTValidator.java (working copy)
@@ -51,7 +51,6 @@
import com.google.dart.compiler.ast.DartParenthesizedExpression;
import com.google.dart.compiler.ast.DartPropertyAccess;
import com.google.dart.compiler.ast.DartRedirectConstructorInvocation;
-import com.google.dart.compiler.ast.DartResourceDirective;
import com.google.dart.compiler.ast.DartReturnStatement;
import com.google.dart.compiler.ast.DartSourceDirective;
import com.google.dart.compiler.ast.DartStringInterpolation;
@@ -416,13 +415,6 @@
}
@Override
- public Void visitResourceDirective(DartResourceDirective node) {
- validate(node);
- node.visitChildren(this);
- return null;
- }
-
- @Override
public Void visitReturnStatement(DartReturnStatement node) {
validate(node);
node.visitChildren(this);

Powered by Google App Engine
This is Rietveld 408576698