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 a084b0f64c29c498a526b83af20020149b5e1b92..078a1b2805eeb5ce8c48fcc91dd5c65cbb372e8a 100644 |
--- a/pkg/compiler/lib/src/elements/resolution_types.dart |
+++ b/pkg/compiler/lib/src/elements/resolution_types.dart |
@@ -1628,7 +1628,7 @@ class Types implements DartTypes { |
ResolutionInterfaceType type, int depth) { |
OrderedTypeSet types = type.element.allSupertypesAndSelf; |
Set<ResolutionDartType> set = new Set<ResolutionDartType>(); |
- types.forEach(depth, (ResolutionDartType supertype) { |
+ types.forEach(depth, (ResolutionInterfaceType supertype) { |
set.add(supertype.substByContext(type)); |
}); |
return set; |