| Index: pkg/analysis_server/lib/src/services/correction/util.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/correction/util.dart b/pkg/analysis_server/lib/src/services/correction/util.dart
|
| index 63c85f8c01be083ce5a77d314b4a84751515c941..837afd85b65f5a8466b7e8299d91fa1a522a0403 100644
|
| --- a/pkg/analysis_server/lib/src/services/correction/util.dart
|
| +++ b/pkg/analysis_server/lib/src/services/correction/util.dart
|
| @@ -877,7 +877,7 @@ class CorrectionUtils {
|
| return name;
|
| }
|
| // function type
|
| - if (type is FunctionType) {
|
| + if (type is FunctionType && type.element.isSynthetic) {
|
| FunctionType functionType = type;
|
| StringBuffer sb = new StringBuffer();
|
| // return type
|
|
|