| 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..e2274c7fd61e3c2ba685e9b636aec01ba89cccda 100644
|
| --- a/pkg/analyzer/lib/src/generated/generated/shared_messages.dart
|
| +++ b/pkg/analyzer/lib/src/generated/generated/shared_messages.dart
|
| @@ -10,8 +10,14 @@ 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 cannot have a body.",
|
| + "Remove the 'const' keyword or the body."); // Generated. Don't edit.
|
| +
|
| +const ParserErrorCode CONST_FACTORY = const ParserErrorCode(
|
| + '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.
|
|
|