| Index: pkg/compiler/lib/src/kernel/types.dart
|
| diff --git a/pkg/compiler/lib/src/kernel/types.dart b/pkg/compiler/lib/src/kernel/types.dart
|
| index 50afb00b0c606024d7d4d550d1f6c24ccca5dc58..8e17ea8171e49eae36653b222954053088353099 100644
|
| --- a/pkg/compiler/lib/src/kernel/types.dart
|
| +++ b/pkg/compiler/lib/src/kernel/types.dart
|
| @@ -36,11 +36,22 @@ class _KernelDartTypes implements DartTypes {
|
| }
|
|
|
| @override
|
| + Iterable<InterfaceType> getSupertypes(ClassEntity cls) {
|
| + return elementMap._getOrderedTypeSet(cls).supertypes;
|
| + }
|
| +
|
| + @override
|
| InterfaceType asInstanceOf(InterfaceType type, ClassEntity cls) {
|
| return elementMap._asInstanceOf(type, cls);
|
| }
|
|
|
| @override
|
| + FunctionType getCallType(InterfaceType type) {
|
| + // TODO(johnniwinther): Compute the call type.
|
| + throw new UnimplementedError('_KernelDartTypes.getCallType');
|
| + }
|
| +
|
| + @override
|
| CommonElements get commonElements => elementMap.commonElements;
|
| }
|
|
|
|
|