| Index: pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart
|
| diff --git a/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart b/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart
|
| index ed1eea9ff7c4aa2d9819d36c70ffd2e1ee995a30..c1c47e17657ca2551e5fde573e125cafe9807892 100644
|
| --- a/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart
|
| +++ b/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart
|
| @@ -76,7 +76,7 @@ abstract class TypeGraphInferrer<T> implements TypesInferrer<T> {
|
| TypeMask getReturnTypeOfMember(MemberEntity element) {
|
| if (_disableTypeInference) return _dynamicType;
|
| // Currently, closure calls return dynamic.
|
| - if (element is! FunctionElement) return _dynamicType;
|
| + if (element is! FunctionEntity) return _dynamicType;
|
| return inferrer.types.getInferredTypeOfMember(element).type;
|
| }
|
|
|
|
|