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 b1b6ca55b079127525384d158126649ae8dcc6f6..0244f8451a6a27cfd41635e40c06c7c0fce65690 100644 |
--- a/pkg/compiler/lib/src/types/flat_type_mask.dart |
+++ b/pkg/compiler/lib/src/types/flat_type_mask.dart |
@@ -48,7 +48,8 @@ class FlatTypeMask implements TypeMask { |
* Ensures that the generated mask is normalized, i.e., a call to |
* [TypeMask.assertIsNormalized] with the factory's result returns `true`. |
*/ |
- factory FlatTypeMask.normalized(ClassElement base, int flags, World world) { |
+ factory FlatTypeMask.normalized( |
+ ClassElement base, int flags, ClassWorld world) { |
if ((flags >> 1) == EMPTY || ((flags >> 1) == EXACT)) { |
return new FlatTypeMask.internal(base, flags); |
} |
@@ -601,7 +602,7 @@ class FlatTypeMask implements TypeMask { |
ClassElement enclosingClass = element.enclosingClass; |
return hasConcreteMatch(enclosingClass.superclass, selector, world); |
} |
- return selector.appliesUntyped(element, world); |
+ return selector.appliesUntyped(element, world.backend); |
} |
bool needsNoSuchMethodHandling(Selector selector, ClassWorld classWorld) { |