Commit acad3c0
[messages] Clean up
The enumerated values in the code-generated `SharedCode` enum are now
named after the camelCase analyzer error code, and sorted
accordingly. This makes the enum look a lot more natural and
Dart-like. (Previously, the enumerated values were capitalized and the
sort order wasn't obvious).
The corresponding `sharedAnalyzerCodes` list (which is code-generated
to match the order of the `SharedCode` enum) is suitably adjusted to
reflect the new sort order, so there is no functional change.
Addresses code review comment
https://dart-review.googlesource.com/c/sdk/+/455466/comment/07c4632c_1c93e509/.
Change-Id: I6a6a696469ed5c8a814e3531b666bb358979cde0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/455761
Reviewed-by: Konstantin Shcheglov <[email protected]>
Commit-Queue: Paul Berry <[email protected]>SharedCode enum.1 parent bf3e8e9 commit acad3c0
File tree
4 files changed
+367
-373
lines changed- pkg
- analyzer_utilities/lib
- analyzer/lib/src/diagnostic
- front_end/tool
4 files changed
+367
-373
lines changed
0 commit comments