| Index: pkg/analysis_server/lib/src/services/completion/dart/arglist_contributor.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/completion/dart/arglist_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/arglist_contributor.dart
|
| index 2af32d59aa373cd0b272803b5cd5ab4cced32612..903a9fd15cb4a5b5fba321d66278f640977b1b5a 100644
|
| --- a/pkg/analysis_server/lib/src/services/completion/dart/arglist_contributor.dart
|
| +++ b/pkg/analysis_server/lib/src/services/completion/dart/arglist_contributor.dart
|
| @@ -223,17 +223,13 @@ class ArgListContributor extends DartCompletionContributor {
|
| for (ParameterElement parameter in parameters) {
|
| if (parameter.parameterKind == ParameterKind.NAMED) {
|
| _addNamedParameterSuggestion(
|
| - request, namedArgs, parameter, appendColon, appendComma);
|
| + namedArgs, parameter, appendColon, appendComma);
|
| }
|
| }
|
| }
|
|
|
| - void _addNamedParameterSuggestion(
|
| - DartCompletionRequest request,
|
| - List<String> namedArgs,
|
| - ParameterElement parameter,
|
| - bool appendColon,
|
| - bool appendComma) {
|
| + void _addNamedParameterSuggestion(List<String> namedArgs,
|
| + ParameterElement parameter, bool appendColon, bool appendComma) {
|
| String name = parameter.name;
|
| String type = parameter.type?.displayName;
|
| if (name != null && name.length > 0 && !namedArgs.contains(name)) {
|
|
|