Commit 0b07bee
[messages] Make AnalyzerCode.className non-optional.
All the `analyzerCode` values that remain in `messages.yaml` files are
fully qualified (they take the form `className.error_name` or
`className.ERROR_NAME`), so there is no need for `AnalyzerCode` to be
able to represent an unqualified analyzer code anymore.
In a follow-up CL I intend to generalize the analyzer codes in
`_fe_analyzer_shared/messages.yaml` so that their class name doesn't
have to be `ParserErrorCode`. Making the class name non-optional will
make that work easier.
Change-Id: I6a6a696419c3b1208bb512e70d40cab32f647627
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/453103
Reviewed-by: Konstantin Shcheglov <[email protected]>
Commit-Queue: Paul Berry <[email protected]>1 parent b3a185e commit 0b07bee
File tree
2 files changed
+16
-16
lines changed- pkg
- analyzer_utilities/lib
- front_end/test
2 files changed
+16
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
| 185 | + | |
| 186 | + | |
190 | 187 | | |
191 | 188 | | |
192 | 189 | | |
| |||
215 | 212 | | |
216 | 213 | | |
217 | 214 | | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
| 215 | + | |
224 | 216 | | |
225 | 217 | | |
226 | 218 | | |
227 | 219 | | |
228 | 220 | | |
229 | 221 | | |
230 | | - | |
| 222 | + | |
231 | 223 | | |
232 | 224 | | |
233 | 225 | | |
| |||
1026 | 1018 | | |
1027 | 1019 | | |
1028 | 1020 | | |
1029 | | - | |
1030 | | - | |
1031 | 1021 | | |
1032 | 1022 | | |
1033 | 1023 | | |
| |||
1036 | 1026 | | |
1037 | 1027 | | |
1038 | 1028 | | |
1039 | | - | |
1040 | | - | |
| 1029 | + | |
| 1030 | + | |
1041 | 1031 | | |
1042 | 1032 | | |
1043 | 1033 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
334 | 344 | | |
335 | 345 | | |
336 | 346 | | |
| |||
0 commit comments