Index: pkg/compiler/lib/src/resolution/resolution.dart |
diff --git a/pkg/compiler/lib/src/resolution/resolution.dart b/pkg/compiler/lib/src/resolution/resolution.dart |
index 64c5fc62c2237f154ea2f3388445d834bc92d2c9..94c8adc6bd06ffc90069f9951c09729b72d79aed 100644 |
--- a/pkg/compiler/lib/src/resolution/resolution.dart |
+++ b/pkg/compiler/lib/src/resolution/resolution.dart |
@@ -270,10 +270,9 @@ class ResolverTask extends CompilerTask { |
ClassElement enclosingClass = element.enclosingClass; |
if (enclosingClass != null) { |
// TODO(johnniwinther): Find another way to obtain mixin uses. |
- Iterable<MixinApplicationElement> mixinUses = |
- world.allMixinUsesOf(enclosingClass); |
ClassElement mixin = enclosingClass; |
- for (MixinApplicationElement mixinApplication in mixinUses) { |
+ for (MixinApplicationElement mixinApplication |
+ in world.allMixinUsesOf(enclosingClass)) { |
checkMixinSuperUses(resolutionTree, mixinApplication, mixin); |
} |
} |