| 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 f38c6f6c5c5519469ca86d0cdf84d7ab93e3f9a8..90389a73915ed49b31a37b4575f89d5a9d6a8d48 100644
|
| --- a/pkg/compiler/lib/src/types/flat_type_mask.dart
|
| +++ b/pkg/compiler/lib/src/types/flat_type_mask.dart
|
| @@ -681,11 +681,10 @@ class FlatTypeMask implements TypeMask {
|
| subclassesToCheck.any(needsNoSuchMethod);
|
| }
|
|
|
| - Element locateSingleElement(
|
| - Selector selector, TypeMask mask, Compiler compiler) {
|
| + Element locateSingleElement(Selector selector, Compiler compiler) {
|
| if (isEmptyOrNull) return null;
|
| Iterable<Element> targets =
|
| - compiler.world.allFunctions.filter(selector, mask);
|
| + compiler.world.allFunctions.filter(selector, this);
|
| if (targets.length != 1) return null;
|
| Element result = targets.first;
|
| ClassElement enclosing = result.enclosingClass;
|
|
|