| 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 effe4fb44fffb7bc894dea544874c7e03bd19425..85e5dbd8d967f7f688eb86d1c9b7136e7471d7ce 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.backend) ||
|
| + if (!selector.applies(target) ||
|
| (mask != null &&
|
| !mask.canHit(target, selector, compiler.closedWorld))) {
|
| return types.dynamicType;
|
|
|