Index: pkg/analyzer/lib/src/generated/generated/shared_messages.dart |
diff --git a/pkg/analyzer/lib/src/generated/generated/shared_messages.dart b/pkg/analyzer/lib/src/generated/generated/shared_messages.dart |
index 2c1465c4eb7f52a04bd360caa5c1779c119516af..31574d5abc9502739ad36747527031f791002ffa 100644 |
--- a/pkg/analyzer/lib/src/generated/generated/shared_messages.dart |
+++ b/pkg/analyzer/lib/src/generated/generated/shared_messages.dart |
@@ -10,8 +10,13 @@ After any change to that file, run `bin/publish.dart` to generate a new version |
of the json, dart2js and analyzer representations. |
*/ |
import 'package:analyzer/src/generated/error.dart'; |
+import 'package:analyzer/src/generated/parser.dart' show ParserErrorCode; |
-const AnalysisOptionsErrorCode exampleMessage = const AnalysisOptionsErrorCode( |
- 'exampleMessage', |
- "{2} {1} {0}", |
- "an explanation on how to fix things"); // Generated. Don't edit. |
+const ParserErrorCode CONST_CONSTRUCTOR_WITH_BODY = const ParserErrorCode( |
+ 'CONST_CONSTRUCTOR_WITH_BODY', |
+ "Const constructor or factory can't have a body.", |
+ "Remove the 'const' keyword or the body."); // Generated. Don't edit. |
+const ParserErrorCode CONST_FACTORY = const ParserErrorCode( |
Brian Wilkerson
2016/02/03 00:27:12
nit: add a blank line between constants for readab
floitsch
2016/02/03 17:50:25
Done.
|
+ 'CONST_FACTORY', |
+ "Only redirecting factory constructors can be declared to be 'const'", |
+ "Remove the 'const' keyword or replace the body with '=' followed by a valid target"); // Generated. Don't edit. |