| 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 4df0edcc6949825b2ff5e0020c9489ec77d8689c..d75c85a3adbbc5a1aa679483a2daaf4399c6a722 100644
|
| --- a/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
|
| +++ b/compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
|
| @@ -22,6 +22,8 @@ public enum ParserErrorCode implements ErrorCode {
|
| DEFAULT_VALUE_CAN_NOT_BE_SPECIFIED_IN_TYPEDEF(
|
| "Default values can not be specified in closure type definition"),
|
| DEFAULT_POSITIONAL_PARAMETER("Positional parameters cannot have default values"),
|
| + DEPRECATED_USE_OF_FACTORY_KEYWORD(ErrorSeverity.WARNING,
|
| + "Deprecated use of the 'factory' keyword: use 'default' instead"),
|
| DISALLOWED_ABSTRACT_KEYWORD("Abstract keyword not allowed here"),
|
| DISALLOWED_FACTORY_KEYWORD("Factory keyword not allowed here"),
|
| EXPECTED_ARRAY_OR_MAP_LITERAL("Expected array or map literal"),
|
|
|