Index: compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java |
=================================================================== |
--- compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java (revision 8158) |
+++ compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java (working copy) |
@@ -28,8 +28,7 @@ |
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"), |
+ DEPRECATED_USE_OF_FACTORY_KEYWORD("Deprecated use of the 'factory' keyword: use 'default' instead"), |
DIRECTIVE_OUT_OF_ORDER("Directive out of order"), |
DISALLOWED_ABSTRACT_KEYWORD("Abstract keyword not allowed here"), |
DISALLOWED_FACTORY_KEYWORD("Factory keyword not allowed here"), |