| Index: tests/compiler/dart2js/patch_test.dart
|
| diff --git a/tests/compiler/dart2js/patch_test.dart b/tests/compiler/dart2js/patch_test.dart
|
| index 3990949491f2eb3937c039a04e434bbd981ece0d..f12c2b2293f68ef3b7603f99a1c346e65e22cd66 100644
|
| --- a/tests/compiler/dart2js/patch_test.dart
|
| +++ b/tests/compiler/dart2js/patch_test.dart
|
| @@ -942,7 +942,7 @@ Future testPatchAndSelector() async {
|
| TypeMask typeMask = new TypeMask.exact(cls, world);
|
| FunctionElement method = cls.implementation.lookupLocalMember('method');
|
| method.computeType(compiler.resolution);
|
| - Expect.isTrue(selector.applies(method, world.backend));
|
| + Expect.isTrue(selector.applies(method));
|
| Expect.isTrue(typeMask.canHit(method, selector, world));
|
|
|
| // Check that the declaration method in the declaration class is a target
|
| @@ -952,7 +952,7 @@ Future testPatchAndSelector() async {
|
| typeMask = new TypeMask.exact(cls, world);
|
| method = cls.lookupLocalMember('clear');
|
| method.computeType(compiler.resolution);
|
| - Expect.isTrue(selector.applies(method, world.backend));
|
| + Expect.isTrue(selector.applies(method));
|
| Expect.isTrue(typeMask.canHit(method, selector, world));
|
|
|
| // Check that the declaration method in the declaration class is a target
|
| @@ -960,7 +960,7 @@ Future testPatchAndSelector() async {
|
| cls = ensure(compiler, "B", compiler.commonElements.coreLibrary.find);
|
| cls.ensureResolved(compiler.resolution);
|
| typeMask = new TypeMask.exact(cls, world);
|
| - Expect.isTrue(selector.applies(method, world.backend));
|
| + Expect.isTrue(selector.applies(method));
|
| Expect.isTrue(typeMask.canHit(method, selector, world));
|
| }
|
|
|
|
|