Commit 39c85ac
analyzer: Count unused local functions in Element2.isWildcardVariable
I think this was just overlooked. While prefixes and local functions
are not variables by any stretch, the feature name is "wildcard
variables" so there you have it.
This change allows us to remove some stale code in linter.
Change-Id: I1fffe0a53042d3ba20208463b3587e8ad78a9424
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/416880
Commit-Queue: Samuel Rawlins <[email protected]>
Reviewed-by: Phil Quitslund <[email protected]>
Reviewed-by: Konstantin Shcheglov <[email protected]>1 parent 4169209 commit 39c85ac
File tree
2 files changed
+9
-15
lines changed- pkg/analyzer/lib/src
- dart/element
- error
2 files changed
+9
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
Lines changed: 7 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
783 | 784 | | |
784 | 785 | | |
785 | 786 | | |
786 | | - | |
787 | | - | |
788 | | - | |
789 | | - | |
790 | | - | |
791 | | - | |
792 | | - | |
793 | | - | |
794 | | - | |
795 | | - | |
796 | | - | |
797 | | - | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
798 | 793 | | |
799 | | - | |
800 | | - | |
801 | 794 | | |
802 | 795 | | |
803 | 796 | | |
| |||
0 commit comments