| Index: pkg/analyzer/lib/src/dart/error/syntactic_errors.dart
|
| diff --git a/pkg/analyzer/lib/src/dart/error/syntactic_errors.dart b/pkg/analyzer/lib/src/dart/error/syntactic_errors.dart
|
| index 6878eeb2cc4354e08fa08ee2ce2525d2193a3459..60a0af1b88064c6979416ea28acf4975c771f855 100644
|
| --- a/pkg/analyzer/lib/src/dart/error/syntactic_errors.dart
|
| +++ b/pkg/analyzer/lib/src/dart/error/syntactic_errors.dart
|
| @@ -330,6 +330,11 @@ class ParserErrorCode extends ErrorCode {
|
| "Typedefs can't be declared to be 'external'.",
|
| "Try removing the keyword 'external'.");
|
|
|
| + static const ParserErrorCode EXTRANEOUS_MODIFIER = const ParserErrorCode(
|
| + 'EXTRANEOUS_MODIFIER',
|
| + "Can't have modifier '{0}' here.",
|
| + "Try removing '{0}'.");
|
| +
|
| static const ParserErrorCode FACTORY_TOP_LEVEL_DECLARATION =
|
| const ParserErrorCode(
|
| 'FACTORY_TOP_LEVEL_DECLARATION',
|
|
|