Index: pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
diff --git a/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart b/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
index a54eddf9a50b788f7eed03cd5456611cc0f7188c..b47b4910da6e78f5c62e0f4b0aab7fbe21700211 100644 |
--- a/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
+++ b/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
@@ -1351,7 +1351,7 @@ class SimpleTypeInferrerVisitor<T> |
// In erroneous code the number of arguments in the selector might not |
// match the function element. |
// TODO(polux): return nonNullEmpty and check it doesn't break anything |
- if (!selector.applies(target, compiler.closedWorld) || |
+ if (!selector.applies(target, compiler.backend) || |
(mask != null && |
!mask.canHit(target, selector, compiler.closedWorld))) { |
return types.dynamicType; |