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

Unified Diff: compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java

Issue 9086015: Report error for interface method with body, issue 971 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rollback extra change Created 8 years, 12 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/ParserErrorCode.java
diff --git a/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java b/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
index 300c25e59819b85a6970aa871632752b4884bb85..7e6d76ac46c7aea2de29ca1b0cc47c1940f63ed3 100644
--- a/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
@@ -58,6 +58,7 @@ public enum ParserErrorCode implements ErrorCode {
ILLEGAL_ASSIGNMENT_TO_NON_ASSIGNABLE("Illegal assignment to non-assignable expression"),
ILLEGAL_NUMBER_OF_PARAMETERS("Illegal number of parameters"),
INCOMPLETE_STRING_LITERAL("Incomplete string literal"),
+ INTERFACE_METHOD_WITH_BODY("Interface method can not have a body"),
INVALID_FIELD_DECLARATION("Wrong syntax for field declaration"),
INVALID_OPERATOR_CHAINING("Cannot chain '%s'"),
MISSING_FUNCTION_NAME("a function name is required for a declaration"),

Powered by Google App Engine
This is Rietveld 408576698