Index: pkg/compiler/lib/src/universe/use.dart |
diff --git a/pkg/compiler/lib/src/universe/use.dart b/pkg/compiler/lib/src/universe/use.dart |
index a1756ed17e9602def2fbecc6d715b3ec8a859fd8..543e2bd612d9bf6c16cf040bddb1dd587be9b8d5 100644 |
--- a/pkg/compiler/lib/src/universe/use.dart |
+++ b/pkg/compiler/lib/src/universe/use.dart |
@@ -21,7 +21,7 @@ import '../common.dart'; |
import '../dart_types.dart'; |
import '../elements/elements.dart'; |
import '../util/util.dart' show Hashing; |
-import '../world.dart' show ClassWorld; |
+import '../world.dart' show World; |
import 'call_structure.dart' show CallStructure; |
import 'selector.dart' show Selector; |
import 'universe.dart' show ReceiverConstraint; |
@@ -37,8 +37,8 @@ class DynamicUse { |
DynamicUse(this.selector, this.mask); |
- bool appliesUnnamed(Element element, ClassWorld world) { |
- return selector.appliesUnnamed(element, world.backend) && |
+ bool appliesUnnamed(Element element, World world) { |
+ return selector.appliesUnnamed(element) && |
(mask == null || mask.canHit(element, selector, world)); |
} |