-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wildcards] update
UNUSED_LOCAL_VARIABLE
for wildcards
Updates `UNUSED_LOCAL_VARIABLE` to flag `__`s when the wildcard variables feature is enabled. Fixes: #55719 The implementation is quick so I'm very open to feedback. Also, I'm not sure how exhaustively we want/need to test. Coverage is incomplete and I'm not sure it needs to be *but* for sure if there are interesting cases missed, please do let me know! Change-Id: I4d95d5b94141fa033b3c426ac4b5a721a12fc107 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/366403 Reviewed-by: Kallen Tu <kallentu@google.com> Commit-Queue: Phil Quitslund <pquitslund@google.com>
- Loading branch information
Showing
2 changed files
with
133 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters