| Index: dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
|
| ===================================================================
|
| --- dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart (revision 24273)
|
| +++ dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart (working copy)
|
| @@ -791,6 +791,10 @@
|
| ContainerTypeMask mask = selector.mask;
|
| TypeMask elementType = mask.elementType;
|
| return elementType == null ? dynamicType : elementType;
|
| + } else if (element.isGetter()) {
|
| + // Closure call.
|
| + assert(selector.isCall());
|
| + return dynamicType;
|
| } else {
|
| return returnTypeOfElement(element);
|
| }
|
|
|