-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit 935d5fa
[messages] Switch verify_docs.dart to new analyzer diagnostic codes.
I'm currently going through a process of updating the analyzer and
related packages so that their diagnostic codes are generated into top
level constant declarations in `diagnostic.dart` files rather than
static constants inside of classes like `CompileTimeErrorCode`. This
will help pave the way for unifying the treatment of diagnostic codes
between the analyzer and the CFE (since the CFE doesn't segregate
diagnostic codes into subclasses the way the analyzer does). At the
moment, both the old and the new constants exist, to allow client code
to be transitioned from one to the other.
This change transitions the references in `verify_docs.dart` over to
refer to the new top level constant declarations.
Change-Id: I6a6a6964d9a806b9b45394f2c1826fb71fbff681
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/462163
Reviewed-by: Nate Bosch <nbosch@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>1 parent 6781363 commit 935d5fa
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | - | ||
23 | + | ||
24 | + | ||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
342 | 343 | | |
343 | 344 | | |
344 | 345 | | |
345 | - | ||
346 | - | ||
346 | + | ||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | - | ||
353 | - | ||
352 | + | ||
353 | + | ||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | - | ||
360 | - | ||
359 | + | ||
360 | + | ||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| |||
0 commit comments