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

Unified Diff: compiler/java/com/google/dart/compiler/parser/CompletionHooksParserBase.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/parser/CompletionHooksParserBase.java
diff --git a/compiler/java/com/google/dart/compiler/parser/CompletionHooksParserBase.java b/compiler/java/com/google/dart/compiler/parser/CompletionHooksParserBase.java
index e7349922a98a6baa5cc52a5d10b5dd66cf13e587..eee7ee2e410c14c41aeaa72f62b5f992dfab643b 100644
--- a/compiler/java/com/google/dart/compiler/parser/CompletionHooksParserBase.java
+++ b/compiler/java/com/google/dart/compiler/parser/CompletionHooksParserBase.java
@@ -104,6 +104,10 @@ public abstract class CompletionHooksParserBase extends AbstractParser {
protected void beginArrayLiteral() {
begin();
}
+
+ protected void beginAssertStatement() {
+ begin();
+ }
protected void beginBinaryExpression() {
begin();

Powered by Google App Engine
This is Rietveld 408576698