-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onlegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
These names are usually used for unused parameters.
In Polymer apps I have a lot of methods where a specific signature is expected by Polymer but the parameters passed by default are often not relevant:
@reflectable
void searchStringChanged(_, [__]) {
if (dataView == null) {
return;
}
updateFilter();
}
adding dynamic
everywhere is cumbersome for something that should communicate that it is unused
void searchStringChanged(dynamic _, [dynamic __]) {
lexaknyazev and srawlins
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onlegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug