Index: pkg/compiler/lib/src/types/flat_type_mask.dart |
diff --git a/pkg/compiler/lib/src/types/flat_type_mask.dart b/pkg/compiler/lib/src/types/flat_type_mask.dart |
index 6516d96eed48994fd46ef7a81a6768e2f1325036..ce19f17c8b24f42beb34871eee0e8be65c26cfc4 100644 |
--- a/pkg/compiler/lib/src/types/flat_type_mask.dart |
+++ b/pkg/compiler/lib/src/types/flat_type_mask.dart |
@@ -546,8 +546,9 @@ class FlatTypeMask implements TypeMask { |
*/ |
static bool hasConcreteMatch(ClassElement cls, |
Selector selector, |
- ClassWorld world) { |
- assert(invariant(cls, world.isInstantiated(cls), |
+ World world) { |
+ assert(invariant(cls, |
+ world.compiler.resolverWorld.isInstantiated(cls), |
message: '$cls has not been instantiated.')); |
Element element = findMatchIn(cls, selector); |
if (element == null) return false; |