| Index: sdk/lib/_internal/compiler/implementation/universe/function_set.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/universe/function_set.dart (revision 26305)
|
| +++ sdk/lib/_internal/compiler/implementation/universe/function_set.dart (working copy)
|
| @@ -164,7 +164,8 @@
|
| // If we cannot ensure a method will be found at runtime, we also
|
| // add [noSuchMethod] implementations that apply to [mask] as
|
| // potential targets.
|
| - if (noSuchMethods != null && !mask.willHit(selector, compiler)) {
|
| + if (noSuchMethods != null
|
| + && mask.needsNoSuchMethodHandling(selector, compiler)) {
|
| FunctionSetQuery noSuchMethodQuery = noSuchMethods.query(
|
| new TypedSelector(mask, compiler.noSuchMethodSelector),
|
| compiler,
|
|
|