Index: pkg/compiler/lib/src/deferred_load.dart |
diff --git a/pkg/compiler/lib/src/deferred_load.dart b/pkg/compiler/lib/src/deferred_load.dart |
index 927e7f1472b071d96ecb862773b218190448d38e..e2dadd83efe54fb44d2a32b0af178bd0665bcaee 100644 |
--- a/pkg/compiler/lib/src/deferred_load.dart |
+++ b/pkg/compiler/lib/src/deferred_load.dart |
@@ -432,7 +432,7 @@ class DeferredLoadTask extends CompilerTask { |
ClassElement cls = element.declaration; |
cls.implementation.forEachMember(addLiveInstanceMember); |
- for (var type in cls.implementation.allSupertypes) { |
+ for (ResolutionInterfaceType type in cls.implementation.allSupertypes) { |
elements.add(type.element.implementation); |
} |
elements.add(cls.implementation); |