-
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 ondevexp-warningIssues with the analyzer's Warning codesIssues with the analyzer's Warning codesfeature-wildcard-variablesImplementation of the wildcard variables featureImplementation of the wildcard variables featurelegacy-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
Today,
void f({String? _}) { }
produces a private_optional_parameter
diagnostic. I expect this should be legal with wildcards and no longer produce this warning?
EDIT: Similarly for:
void f({required String _}) { }
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work ondevexp-warningIssues with the analyzer's Warning codesIssues with the analyzer's Warning codesfeature-wildcard-variablesImplementation of the wildcard variables featureImplementation of the wildcard variables featurelegacy-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