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

Unified Diff: compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java

Issue 8381018: Expect '{' during class parsing, report error if not. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 2 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/DartCompilerErrorCode.java
diff --git a/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java b/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
index 583afb610607d798c03733c712f833bf424c166a..fe4e8aeeb0ae71790ad2f1fd6c690863c25b142a 100644
--- a/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
@@ -57,6 +57,7 @@ public enum DartCompilerErrorCode implements ErrorCode {
"expected an instance field in the super class, but got %s"),
EXPECTED_ARRAY_OR_MAP_LITERAL("Expected array or map literal"),
EXPECTED_CASE_OR_DEFAULT("Expected 'case' or 'default'"),
+ EXPECTED_CLASS_DECLARATION_LBRACE("Expected '{' in class or interface declaration"),
EXPECTED_COMMA_OR_RIGHT_BRACE("Expected ',' or '}'"),
EXPECTED_COMMA_OR_RIGHT_PAREN("Expected ',' or ')', but got '%s'"),
EXPECTED_COMPOUND_STATEMENT("SyntaxError: expected if, switch, while, do, or for"),

Powered by Google App Engine
This is Rietveld 408576698