| Index: pkg/analyzer/lib/src/summary/link.dart
|
| diff --git a/pkg/analyzer/lib/src/summary/link.dart b/pkg/analyzer/lib/src/summary/link.dart
|
| index 425eda73b03b11dce82d9ec9590d06ec21fdd98a..d67a8e5c69d414c372e25656fe538c41e38b303c 100644
|
| --- a/pkg/analyzer/lib/src/summary/link.dart
|
| +++ b/pkg/analyzer/lib/src/summary/link.dart
|
| @@ -2372,7 +2372,7 @@ class ExprTypeComputer {
|
| namedArgNames,
|
| namedArgTypeList,
|
| positionalArgTypes, const <DartType>[]);
|
| - if (identical(inferredType, rawType)) {
|
| + if (inferredType == null || identical(inferredType, rawType)) {
|
| inferredType = linker.typeSystem.instantiateToBounds(rawType);
|
| }
|
| return inferredType.returnType;
|
|
|