Commit 3369772
[analyzer] Switch error code references in messages.yaml to camelCase
This is a follow-up to
https://dart-review.googlesource.com/c/sdk/+/444921, which renamed
analyzer error codes from SCREAMING_CAPS conventions to camelCase
conventions. That CL left a few deprecated error codes in place
because they were referred to in comments in the `messages.yaml` file,
and those references couldn't be fixed in an automated fashion.
This CL cleans up the references in `messages.yaml` to use the new
camelCase constants, and removes the deprecated SCREAMING_CAPS
constants that are no longer needed.
Change-Id: I6a6a696406efa02d73775d1a8e0defa5a0e8e39b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/445105
Reviewed-by: Konstantin Shcheglov <[email protected]>
Commit-Queue: Konstantin Shcheglov <[email protected]>
Auto-Submit: Paul Berry <[email protected]>1 parent 8e85492 commit 3369772
File tree
4 files changed
+12
-36
lines changed- pkg/analyzer
- lib/src
- dart/error
- error
- tool/messages
4 files changed
+12
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
728 | 728 | | |
729 | 729 | | |
730 | 730 | | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | 731 | | |
735 | 732 | | |
736 | 733 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3148 | 3148 | | |
3149 | 3149 | | |
3150 | 3150 | | |
3151 | | - | |
3152 | | - | |
3153 | | - | |
3154 | | - | |
3155 | 3151 | | |
3156 | 3152 | | |
3157 | 3153 | | |
| |||
3283 | 3279 | | |
3284 | 3280 | | |
3285 | 3281 | | |
3286 | | - | |
3287 | | - | |
3288 | | - | |
3289 | 3282 | | |
3290 | 3283 | | |
3291 | 3284 | | |
| |||
3536 | 3529 | | |
3537 | 3530 | | |
3538 | 3531 | | |
3539 | | - | |
| 3532 | + | |
3540 | 3533 | | |
3541 | 3534 | | |
3542 | 3535 | | |
| |||
3562 | 3555 | | |
3563 | 3556 | | |
3564 | 3557 | | |
3565 | | - | |
| 3558 | + | |
3566 | 3559 | | |
3567 | 3560 | | |
3568 | 3561 | | |
| |||
6278 | 6271 | | |
6279 | 6272 | | |
6280 | 6273 | | |
6281 | | - | |
6282 | | - | |
6283 | | - | |
6284 | | - | |
6285 | 6274 | | |
6286 | 6275 | | |
6287 | 6276 | | |
| |||
6340 | 6329 | | |
6341 | 6330 | | |
6342 | 6331 | | |
6343 | | - | |
| 6332 | + | |
6344 | 6333 | | |
6345 | 6334 | | |
6346 | 6335 | | |
| |||
6492 | 6481 | | |
6493 | 6482 | | |
6494 | 6483 | | |
6495 | | - | |
6496 | | - | |
6497 | | - | |
6498 | 6484 | | |
6499 | 6485 | | |
6500 | 6486 | | |
| |||
6526 | 6512 | | |
6527 | 6513 | | |
6528 | 6514 | | |
6529 | | - | |
| 6515 | + | |
6530 | 6516 | | |
6531 | 6517 | | |
6532 | 6518 | | |
| |||
6945 | 6931 | | |
6946 | 6932 | | |
6947 | 6933 | | |
6948 | | - | |
| 6934 | + | |
6949 | 6935 | | |
6950 | 6936 | | |
6951 | 6937 | | |
| |||
11470 | 11456 | | |
11471 | 11457 | | |
11472 | 11458 | | |
11473 | | - | |
| 11459 | + | |
11474 | 11460 | | |
11475 | 11461 | | |
11476 | 11462 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8749 | 8749 | | |
8750 | 8750 | | |
8751 | 8751 | | |
8752 | | - | |
| 8752 | + | |
8753 | 8753 | | |
8754 | 8754 | | |
8755 | 8755 | | |
| |||
8844 | 8844 | | |
8845 | 8845 | | |
8846 | 8846 | | |
8847 | | - | |
| 8847 | + | |
8848 | 8848 | | |
8849 | 8849 | | |
8850 | 8850 | | |
| |||
16375 | 16375 | | |
16376 | 16376 | | |
16377 | 16377 | | |
16378 | | - | |
| 16378 | + | |
16379 | 16379 | | |
16380 | 16380 | | |
16381 | 16381 | | |
| |||
16702 | 16702 | | |
16703 | 16703 | | |
16704 | 16704 | | |
16705 | | - | |
| 16705 | + | |
16706 | 16706 | | |
16707 | 16707 | | |
16708 | 16708 | | |
| |||
17714 | 17714 | | |
17715 | 17715 | | |
17716 | 17716 | | |
17717 | | - | |
| 17717 | + | |
17718 | 17718 | | |
17719 | 17719 | | |
17720 | 17720 | | |
| |||
27394 | 27394 | | |
27395 | 27395 | | |
27396 | 27396 | | |
27397 | | - | |
| 27397 | + | |
27398 | 27398 | | |
27399 | 27399 | | |
27400 | 27400 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 39 | | |
46 | 40 | | |
47 | 41 | | |
| |||
73 | 67 | | |
74 | 68 | | |
75 | 69 | | |
76 | | - | |
77 | 70 | | |
78 | 71 | | |
79 | 72 | | |
| |||
0 commit comments