Commit 93558ad
Revert "analyzer: Convert all remaining HintCodes to be WarningCodes"
This reverts commit 7e9e70f.
Reason for revert: Broke flutter customers.
Original change's description:
> analyzer: Convert all remaining HintCodes to be WarningCodes
>
> Fixes #50796
>
> In this change, I only change each previous HintCode to a WarningCode
> by moving it in the YAML file to the WarningCode section. And I change
> each code's `type` from `hint` to `staticWarning`.
>
> This does indicate that the structure of the YAML could be simplified
> to remove the top-level sections like `WarningCode`, but I will let
> someone else make that change independently.
>
> Change-Id: I35c42d9cc8afa9602aadd22143bb32196728f3e5
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/467444
> Reviewed-by: Paul Berry <paulberry@google.com>
> Commit-Queue: Samuel Rawlins <srawlins@google.com>
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Change-Id: Ie9a58321c902965b804a27b166732ee7bf238f5d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/467881
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Auto-Submit: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>1 parent 9117097 commit 93558ad
File tree
2 files changed
+297
-296
lines changed- pkg/analyzer
- lib/src/diagnostic
2 files changed
+297
-296
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3189 | 3189 | | |
3190 | 3190 | | |
3191 | 3191 | | |
3192 | | - | |
| 3192 | + | |
3193 | 3193 | | |
3194 | 3194 | | |
3195 | 3195 | | |
| |||
3314 | 3314 | | |
3315 | 3315 | | |
3316 | 3316 | | |
3317 | | - | |
| 3317 | + | |
3318 | 3318 | | |
3319 | 3319 | | |
3320 | 3320 | | |
| |||
3332 | 3332 | | |
3333 | 3333 | | |
3334 | 3334 | | |
3335 | | - | |
| 3335 | + | |
3336 | 3336 | | |
3337 | 3337 | | |
3338 | 3338 | | |
| |||
3364 | 3364 | | |
3365 | 3365 | | |
3366 | 3366 | | |
3367 | | - | |
| 3367 | + | |
3368 | 3368 | | |
3369 | 3369 | | |
3370 | 3370 | | |
| |||
3382 | 3382 | | |
3383 | 3383 | | |
3384 | 3384 | | |
3385 | | - | |
| 3385 | + | |
3386 | 3386 | | |
3387 | 3387 | | |
3388 | 3388 | | |
| |||
6769 | 6769 | | |
6770 | 6770 | | |
6771 | 6771 | | |
6772 | | - | |
| 6772 | + | |
6773 | 6773 | | |
6774 | 6774 | | |
6775 | 6775 | | |
| |||
16341 | 16341 | | |
16342 | 16342 | | |
16343 | 16343 | | |
16344 | | - | |
| 16344 | + | |
16345 | 16345 | | |
16346 | 16346 | | |
16347 | 16347 | | |
| |||
0 commit comments