Commit 29b291f
[messages] Fix error_fix_status.yaml.
Adds missing `status` entries to the analysis server's
`error_fix_status.yaml` file.
The reason these were missing was because currently, the only
validation logic that checks that `status` entries are present is in
`pkg/linter/tool/machine.dart` (the `readFixStatusMap` function), and
it ignores entries that don't start with the class name prefix
`LintCode.`.
This paves the way for a follow-up CL that will remove the class name
prefixes from `error_fix_status.yaml` entirely (as part of a larger
effort to remove those classes from the codebase).
Note that the validation logic in `readFixStatusMap` is not really
very robust; it only checks that the `status` entries are strings. In
a follow-up CL I will add a more thorough check.
Change-Id: I6a6a69644f7cc07162f5614c87149d6e72b99d23
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/462700
Commit-Queue: Paul Berry <[email protected]>
Reviewed-by: Brian Wilkerson <[email protected]>1 parent fef8cbf commit 29b291f
File tree
1 file changed
+2
-0
lines changed- pkg/analysis_server/lib/src/services/correction
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1110 | 1110 | | |
1111 | 1111 | | |
1112 | 1112 | | |
| 1113 | + | |
1113 | 1114 | | |
1114 | 1115 | | |
1115 | 1116 | | |
1116 | 1117 | | |
1117 | 1118 | | |
1118 | 1119 | | |
1119 | 1120 | | |
| 1121 | + | |
1120 | 1122 | | |
1121 | 1123 | | |
1122 | 1124 | | |
| |||
0 commit comments