| 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 29f463b66db833d5cf1bd8b2fd57fc1e41294dca..e48e8e12f5fb1c92385cfdce73ce80268edd143e 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
|
| @@ -24,14 +24,6 @@ int _argCount(DartCompletionRequest request) {
|
| return 0;
|
| }
|
|
|
| -String _getParamType(ParameterElement param) {
|
| - DartType type = param.type;
|
| - if (type != null) {
|
| - return type.displayName;
|
| - }
|
| - return 'dynamic';
|
| -}
|
| -
|
| /**
|
| * If the containing [node] is an argument list
|
| * or named expression in an argument list
|
| @@ -191,6 +183,14 @@ class ArgListContributor extends DartCompletionContributor {
|
| // DEPRECATED... argument lists are no longer suggested.
|
| // See https://github.com/dart-lang/sdk/issues/25197
|
|
|
| + // String _getParamType(ParameterElement param) {
|
| + // DartType type = param.type;
|
| + // if (type != null) {
|
| + // return type.displayName;
|
| + // }
|
| + // return 'dynamic';
|
| + // }
|
| +
|
| // StringBuffer completion = new StringBuffer('(');
|
| // List<String> paramNames = new List<String>();
|
| // List<String> paramTypes = new List<String>();
|
|
|