| 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 444251a69bdbb79274e000f8a3eb6ee2c8f8e96d..1aff644229d6db5c55128aa8700a38034a467405 100644
|
| --- a/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart
|
| +++ b/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart
|
| @@ -1352,7 +1352,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;
|
|
|