Commit 82a59fe
[analyzer] Introduce
In a follow-up CL, I will add logic to report this warning if
reference is made to an element annotated with `@experimental`.
In order to do that without causing trybot failures, I will need a
preparatory CL that add some analysis_options directives to ignore the
new warning in places where it's expected.
But the analyzer contains logic to warn if an unknown diargnostic code
is referenced from an analysis_options file. So to avoid that
preparatory CL causing trybot failures, I need to first add the
warning code itself, which is what this CL does.
Change-Id: I6a6a69642c1487bf765b49f0e73c6e8468615fcc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/451341
Reviewed-by: Konstantin Shcheglov <[email protected]>
Commit-Queue: Paul Berry <[email protected]>
Reviewed-by: Brian Wilkerson <[email protected]>experimental_member_use warning.1 parent 305189e commit 82a59fe
File tree
4 files changed
+26
-0
lines changed- pkg
- analysis_server/lib/src/services/correction
- analyzer
- lib/src
- diagnostic
- error
4 files changed
+26
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3560 | 3560 | | |
3561 | 3561 | | |
3562 | 3562 | | |
| 3563 | + | |
| 3564 | + | |
3563 | 3565 | | |
3564 | 3566 | | |
3565 | 3567 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1014 | 1014 | | |
1015 | 1015 | | |
1016 | 1016 | | |
| 1017 | + | |
1017 | 1018 | | |
1018 | 1019 | | |
1019 | 1020 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11220 | 11220 | | |
11221 | 11221 | | |
11222 | 11222 | | |
| 11223 | + | |
| 11224 | + | |
| 11225 | + | |
| 11226 | + | |
| 11227 | + | |
| 11228 | + | |
| 11229 | + | |
| 11230 | + | |
| 11231 | + | |
| 11232 | + | |
| 11233 | + | |
| 11234 | + | |
11223 | 11235 | | |
11224 | 11236 | | |
11225 | 11237 | | |
| |||
13110 | 13122 | | |
13111 | 13123 | | |
13112 | 13124 | | |
| 13125 | + | |
| 13126 | + | |
| 13127 | + | |
| 13128 | + | |
| 13129 | + | |
| 13130 | + | |
13113 | 13131 | | |
13114 | 13132 | | |
13115 | 13133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24790 | 24790 | | |
24791 | 24791 | | |
24792 | 24792 | | |
| 24793 | + | |
| 24794 | + | |
| 24795 | + | |
| 24796 | + | |
| 24797 | + | |
24793 | 24798 | | |
24794 | 24799 | | |
24795 | 24800 | | |
| |||
0 commit comments