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..a1607205dbd36eb8695011953fa0eebe5d363b5c 100644 |
--- a/pkg/compiler/lib/src/types/flat_type_mask.dart |
+++ b/pkg/compiler/lib/src/types/flat_type_mask.dart |
@@ -48,7 +48,7 @@ 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) { |
Harry Terkelsen
2016/09/19 20:41:10
long line
Johnni Winther
2016/09/21 09:44:59
Done.
|
if ((flags >> 1) == EMPTY || ((flags >> 1) == EXACT)) { |
return new FlatTypeMask.internal(base, flags); |
} |
@@ -601,7 +601,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) { |