| Index: pkg/analysis_server/lib/src/services/correction/assist_internal.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/correction/assist_internal.dart b/pkg/analysis_server/lib/src/services/correction/assist_internal.dart
|
| index 32000dd33aeebfbb2f661c67343e5bffbf75ed9d..b26a22588d219d745b02cf827b8b64a462234145 100644
|
| --- a/pkg/analysis_server/lib/src/services/correction/assist_internal.dart
|
| +++ b/pkg/analysis_server/lib/src/services/correction/assist_internal.dart
|
| @@ -290,8 +290,8 @@ class AssistProcessor {
|
| _coverageMarker();
|
| return;
|
| }
|
| - // prepare propagated type
|
| - DartType type = name.propagatedType;
|
| + // prepare the type
|
| + DartType type = parameter.element.type;
|
| // TODO(scheglov) If the parameter is in a method declaration, and if the
|
| // method overrides a method that has a type for the corresponding
|
| // parameter, it would be nice to copy down the type from the overridden
|
|
|