Index: sdk/lib/_internal/compiler/implementation/world.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/world.dart (revision 15244) |
+++ sdk/lib/_internal/compiler/implementation/world.dart (working copy) |
@@ -126,10 +126,9 @@ |
// Returns whether a subclass of [superclass] implements [type]. |
bool hasAnySubclassThatImplements(ClassElement superclass, DartType type) { |
- Set<ClassElement> typesImplementedBySubclasses = |
- typesImplementedBySubclasses[superclass]; |
- if (typesImplementedBySubclasses == null) return false; |
- return typesImplementedBySubclasses.contains(type.element); |
+ Set<ClassElement> subclasses= typesImplementedBySubclasses[superclass]; |
+ if (subclasses == null) return false; |
+ return subclasses.contains(type.element); |
} |
bool hasNoOverridingMember(Element element) { |