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 7207226f74d1d915453e71880f93b6196d35fad8..300c25e59819b85a6970aa871632752b4884bb85 100644 |
--- a/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java |
+++ b/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java |
@@ -12,6 +12,8 @@ import com.google.dart.compiler.SubSystem; |
*/ |
public enum ParserErrorCode implements ErrorCode { |
ABSTRACT_MEMBER_IN_INTERFACE("Abstract members are not allowed in interfaces"), |
+ ABSTRACT_METHOD_WITH_BODY("Abstract method can not have a body"), |
+ ABSTRACT_TOP_LEVEL_ELEMENT("Only class can be abstract top-level element"), |
CATCH_OR_FINALLY_EXPECTED("catch or finally clause expected."), |
DEFAULT_VALUE_CAN_NOT_BE_SPECIFIED_IN_ABSTRACT( |
"Default values can not be specified in abstract method"), |