| Index: sdk/lib/_internal/compiler/implementation/world.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/world.dart (revision 21860)
|
| +++ sdk/lib/_internal/compiler/implementation/world.dart (working copy)
|
| @@ -164,6 +164,11 @@
|
| return (receiverTypeElement.isSubclassOf(enclosing)) ? result : null;
|
| }
|
|
|
| + bool hasSingleMatch(Selector selector) {
|
| + Iterable<Element> targets = allFunctions.filter(selector);
|
| + return targets.length == 1;
|
| + }
|
| +
|
| Iterable<ClassElement> locateNoSuchMethodHolders(Selector selector) {
|
| Selector noSuchMethodSelector = compiler.noSuchMethodSelector;
|
| ti.TypeMask mask = selector.mask;
|
|
|