| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java
|
| index 9ab9a4ef6195f00f3d822d9bb8a5c380e1e9e15d..89a68e86e496de9082407235dba63d89b24abf91 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java
|
| @@ -35,6 +35,7 @@ public enum ParserErrorCode implements ErrorCode {
|
| CONST_AND_FINAL("Members cannot be declared to be both 'const' and 'final'"),
|
| CONST_AND_VAR("Members cannot be declared to be both 'const' and 'var'"),
|
| CONST_CLASS("Classes cannot be declared to be 'const'"),
|
| + CONST_FACTORY("Only redirecting factory constructors can be declared to be 'const'"),
|
| CONST_METHOD("Getters, setters and methods cannot be declared to be 'const'"),
|
| CONST_TYPEDEF("Type aliases cannot be declared to be 'const'"),
|
| CONSTRUCTOR_WITH_RETURN_TYPE("Constructors cannot have a return type"),
|
|
|