| Index: pkg/compiler/lib/src/elements/resolution_types.dart
|
| diff --git a/pkg/compiler/lib/src/elements/resolution_types.dart b/pkg/compiler/lib/src/elements/resolution_types.dart
|
| index 5cd27d3dc7c2ddcf04946454dea1195a20be9dfd..19b67aa0b1353456eed31f73e2eb87e73eca40dd 100644
|
| --- a/pkg/compiler/lib/src/elements/resolution_types.dart
|
| +++ b/pkg/compiler/lib/src/elements/resolution_types.dart
|
| @@ -1104,6 +1104,16 @@ class Types implements DartTypes {
|
| return cls.supertype;
|
| }
|
|
|
| + @override
|
| + Iterable<InterfaceType> getSupertypes(ClassElement cls) {
|
| + assert(invariant(cls, cls.allSupertypes != null,
|
| + message: 'Supertypes have not been computed for $cls.'));
|
| + return cls.allSupertypes;
|
| + }
|
| +
|
| + @override
|
| + FunctionType getCallType(ResolutionInterfaceType type) => type.callType;
|
| +
|
| /// Flatten [type] by recursively removing enclosing `Future` annotations.
|
| ///
|
| /// Defined in the language specification as:
|
|
|