Commit ae835a6
[tools] Switch error code references in verify_docs.dart 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
`tools/verify_docs/bin/verify_docs.dart`, and those references
couldn't be fixed in an automated fashion.
This CL cleans up the references in `verify_docs.dart` to use the new
camelCase constants, and removes the deprecated SCREAMING_CAPS
constants that are no longer needed.
Change-Id: I6a6a69644eb8cfe7841d7582fd520f081010544d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/445106
Reviewed-by: Moritz Sümmermann <[email protected]>
Commit-Queue: Paul Berry <[email protected]>
Reviewed-by: Konstantin Shcheglov <[email protected]>1 parent ac68903 commit ae835a6
File tree
4 files changed
+6
-42
lines changed- pkg/analyzer
- lib/src
- dart/error
- error
- tool/messages
- tools/verify_docs/bin
4 files changed
+6
-42
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | 115 | | |
119 | 116 | | |
120 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2542 | 2542 | | |
2543 | 2543 | | |
2544 | 2544 | | |
2545 | | - | |
2546 | | - | |
2547 | | - | |
2548 | | - | |
2549 | 2545 | | |
2550 | 2546 | | |
2551 | 2547 | | |
| |||
7834 | 7830 | | |
7835 | 7831 | | |
7836 | 7832 | | |
7837 | | - | |
7838 | | - | |
7839 | | - | |
7840 | 7833 | | |
7841 | 7834 | | |
7842 | 7835 | | |
| |||
7864 | 7857 | | |
7865 | 7858 | | |
7866 | 7859 | | |
7867 | | - | |
7868 | | - | |
7869 | | - | |
7870 | 7860 | | |
7871 | 7861 | | |
7872 | 7862 | | |
| |||
7887 | 7877 | | |
7888 | 7878 | | |
7889 | 7879 | | |
7890 | | - | |
7891 | | - | |
7892 | | - | |
7893 | 7880 | | |
7894 | 7881 | | |
7895 | 7882 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 60 | | |
67 | 61 | | |
68 | 62 | | |
69 | 63 | | |
70 | 64 | | |
71 | 65 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 66 | + | |
80 | 67 | | |
81 | 68 | | |
82 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 7 | | |
15 | 8 | | |
16 | 9 | | |
| |||
350 | 343 | | |
351 | 344 | | |
352 | 345 | | |
353 | | - | |
| 346 | + | |
354 | 347 | | |
355 | 348 | | |
356 | 349 | | |
357 | 350 | | |
358 | 351 | | |
359 | | - | |
360 | | - | |
| 352 | + | |
| 353 | + | |
361 | 354 | | |
362 | 355 | | |
363 | 356 | | |
364 | 357 | | |
365 | 358 | | |
366 | | - | |
367 | | - | |
| 359 | + | |
| 360 | + | |
368 | 361 | | |
369 | 362 | | |
370 | 363 | | |
| |||
0 commit comments