| Index: pkg/compiler/lib/src/world.dart
|
| diff --git a/pkg/compiler/lib/src/world.dart b/pkg/compiler/lib/src/world.dart
|
| index 6e774c4e023d9ceeb3de45e246fe5f5b7fe7c9a7..fafcbebd5cd90e93fc7da3025f69931d70e2e9eb 100644
|
| --- a/pkg/compiler/lib/src/world.dart
|
| +++ b/pkg/compiler/lib/src/world.dart
|
| @@ -1073,7 +1073,7 @@ class ClosedWorldImpl implements ClosedWorld, ClosedWorldRefiner {
|
| assert(isClosed);
|
| bool canReachAll = true;
|
| if (mask != null) {
|
| - canReachAll = _backend.hasInvokeOnSupport &&
|
| + canReachAll = _backend.backendUsage.isInvokeOnUsed &&
|
| mask.needsNoSuchMethodHandling(selector, this);
|
| }
|
| return canReachAll ? commonMasks.dynamicType : mask;
|
|
|