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

Unified Diff: compiler/java/com/google/dart/compiler/ast/ASTVisitor.java

Issue 10949015: Issue 5052. Analyzer should treat assert as a keyword (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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/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 9f082aa190f90a3ccba4c414aae96d19a2f50f63..5241ff2afd1e30bc79a250f2fe0021a80fc90d56 100644
--- a/compiler/java/com/google/dart/compiler/ast/ASTVisitor.java
+++ b/compiler/java/com/google/dart/compiler/ast/ASTVisitor.java
@@ -113,6 +113,10 @@ public class ASTVisitor<R> {
return visitLiteral(node);
}
+ public R visitAssertStatement(DartAssertStatement node) {
+ return visitStatement(node);
+ }
+
public R visitBreakStatement(DartBreakStatement node) {
return visitGotoStatement(node);
}

Powered by Google App Engine
This is Rietveld 408576698