Index: pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart b/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart |
index ed66eee0b77c1180a30697d92ad0512bd11a4567..4e04af970e37f899394c77b6ee7026978b3142d0 100644 |
--- a/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart |
+++ b/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart |
@@ -10,7 +10,7 @@ import '../common/names.dart' show Identifiers; |
import '../compiler.dart' show Compiler; |
import '../common_elements.dart' show CommonElements; |
import '../elements/resolution_types.dart' |
- show ResolutionDartType, ResolutionFunctionType; |
+ show ResolutionDartType, ResolutionFunctionType, ResolutionInterfaceType; |
import '../elements/elements.dart' |
show ClassElement, Element, FunctionElement, MixinApplicationElement; |
import '../js/js.dart' as jsAst; |
@@ -242,7 +242,7 @@ class RuntimeTypeGenerator { |
} |
if (supertypesNeedSubstitutions) { |
- for (ResolutionDartType supertype in cls.allSupertypes) { |
+ for (ResolutionInterfaceType supertype in cls.allSupertypes) { |
ClassElement superclass = supertype.element; |
if (generated.contains(superclass)) continue; |