Sort declarations in messages.dart.

Change-Id: I07840b0818f36d6db9e099c69e02083ed3a8845d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/171980
Reviewed-by: Devon Carew <devoncarew@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
This commit is contained in:
Paul Berry 2020-11-13 17:38:10 +00:00 committed by commit-bot@chromium.org
parent cf4d300c0b
commit b3120a6170

View file

@ -12,8 +12,6 @@ const String sdkNnbdOff = 'Analysis seems to have an SDK without NNBD enabled.';
const String sdkPathEnvironmentVariableSet =
r'Note: $SDK_PATH environment variable is set and may point to outdated '
'dart:core sources';
const String _skipImportCheckFlag =
'--${CommandLineOptions.skipImportCheckFlag}';
const String unmigratedDependenciesWarning = '''
Warning: package has unmigrated dependencies.
@ -21,6 +19,8 @@ Continuing due to the presence of `$_skipImportCheckFlag`. To see a complete
list of the unmigrated dependencies, re-run without the `$_skipImportCheckFlag`
flag.
''';
const String _skipImportCheckFlag =
'--${CommandLineOptions.skipImportCheckFlag}';
String unmigratedDependenciesError(List<String> uris) => '''
Error: package has unmigrated dependencies.