Commit b551690
Reapply "analyzer: separate unused_element_parameter from unused_element"
Fixes #49025. Fixes #48401
This allows users to blanket ignore unused_element_parameter without
ignoring unused_element. They are reported in distinct situations so it
is valid to separate them.
This reverts commit b888da7.
Change-Id: I8ea52fcdcb491c140c1283602d6911c939e78d50
Tested: trybots
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/381882
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>1 parent f6fd63d commit b551690
File tree
5 files changed
+40
-19
lines changed- pkg
- analysis_server/test/src/services/correction/assist
- analyzer
- lib/src/error
- tool/diagnostics
- runtime/observatory/lib/src/elements
5 files changed
+40
-19
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
| 351 | + | |
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7612 | 7612 | | |
7613 | 7613 | | |
7614 | 7614 | | |
7615 | | - | |
| 7615 | + | |
7616 | 7616 | | |
7617 | 7617 | | |
7618 | | - | |
7619 | | - | |
7620 | 7618 | | |
7621 | 7619 | | |
7622 | 7620 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27316 | 27316 | | |
27317 | 27317 | | |
27318 | 27318 | | |
27319 | | - | |
27320 | | - | |
27321 | 27319 | | |
27322 | 27320 | | |
27323 | 27321 | | |
| |||
27337 | 27335 | | |
27338 | 27336 | | |
27339 | 27337 | | |
| 27338 | + | |
| 27339 | + | |
| 27340 | + | |
| 27341 | + | |
| 27342 | + | |
| 27343 | + | |
| 27344 | + | |
| 27345 | + | |
| 27346 | + | |
| 27347 | + | |
| 27348 | + | |
| 27349 | + | |
| 27350 | + | |
| 27351 | + | |
| 27352 | + | |
| 27353 | + | |
| 27354 | + | |
| 27355 | + | |
| 27356 | + | |
| 27357 | + | |
27340 | 27358 | | |
27341 | 27359 | | |
27342 | 27360 | | |
| |||
27361 | 27379 | | |
27362 | 27380 | | |
27363 | 27381 | | |
27364 | | - | |
27365 | | - | |
27366 | | - | |
27367 | | - | |
27368 | | - | |
27369 | | - | |
27370 | | - | |
27371 | | - | |
27372 | 27382 | | |
27373 | 27383 | | |
27374 | 27384 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23187 | 23187 | | |
23188 | 23188 | | |
23189 | 23189 | | |
23190 | | - | |
23191 | | - | |
23192 | 23190 | | |
23193 | 23191 | | |
23194 | 23192 | | |
| |||
23198 | 23196 | | |
23199 | 23197 | | |
23200 | 23198 | | |
23201 | | - | |
23202 | | - | |
23203 | 23199 | | |
23204 | 23200 | | |
23205 | 23201 | | |
| |||
23219 | 23215 | | |
23220 | 23216 | | |
23221 | 23217 | | |
| 23218 | + | |
| 23219 | + | |
| 23220 | + | |
| 23221 | + | |
| 23222 | + | |
| 23223 | + | |
| 23224 | + | |
| 23225 | + | |
| 23226 | + | |
| 23227 | + | |
| 23228 | + | |
| 23229 | + | |
| 23230 | + | |
| 23231 | + | |
| 23232 | + | |
| 23233 | + | |
| 23234 | + | |
23222 | 23235 | | |
23223 | 23236 | | |
23224 | 23237 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2942 | 2942 | | |
2943 | 2943 | | |
2944 | 2944 | | |
2945 | | - | |
| 2945 | + | |
2946 | 2946 | | |
2947 | 2947 | | |
2948 | 2948 | | |
| |||
0 commit comments