Skip to content

Commit 9d0607a

Browse files
stereotype441Commit Queue
authored andcommitted
[messages] Sort analyzer_messages.dart.
Sorts declarartions in the file `pkg/analyzer_utilities/lib/analyzer_messages.dart`. The files in this package are not yet checked by `verify_sorted_test.dart`, so I failed to notice when I introduced a sorting error. In a follow-up CL, I will update `verify_sorted_test.dart` to verify sorting in `pkg/analyzer_utilities`, so that this doesn't happen again. Change-Id: I6a6a6964542065c7894499394b74269152a64853 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/458460 Commit-Queue: Paul Berry <[email protected]> Reviewed-by: Konstantin Shcheglov <[email protected]>
1 parent d3b988f commit 9d0607a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/analyzer_utilities/lib/analyzer_messages.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ const codesFile = GeneratedDiagnosticFile(
1616
parentLibrary: 'package:analyzer/src/error/codes.dart',
1717
);
1818

19-
/// Enum representing the packages into which analyzer diagnostics can be
20-
/// generated.
21-
enum AnalyzerDiagnosticPackage { analyzer, analysisServer, linter }
22-
2319
/// Information about all the classes derived from `DiagnosticCode` that are
2420
/// code-generated based on the contents of the analyzer and front end
2521
/// `messages.yaml` files.
@@ -319,6 +315,10 @@ class AliasMessage extends AnalyzerMessage {
319315
}
320316
}
321317

318+
/// Enum representing the packages into which analyzer diagnostics can be
319+
/// generated.
320+
enum AnalyzerDiagnosticPackage { analyzer, analysisServer, linter }
321+
322322
/// In-memory representation of diagnostic information obtained from the
323323
/// analyzer's `messages.yaml` file.
324324
class AnalyzerMessage extends Message with MessageWithAnalyzerCode {

0 commit comments

Comments
 (0)