| Index: tests/compiler/dart2js/patch_test.dart
|
| diff --git a/tests/compiler/dart2js/patch_test.dart b/tests/compiler/dart2js/patch_test.dart
|
| index 523f8251abbe509120be2481fc246c6f8ccf9738..1c84bbe92029c7660000b69e81ce9a08db081826 100644
|
| --- a/tests/compiler/dart2js/patch_test.dart
|
| +++ b/tests/compiler/dart2js/patch_test.dart
|
| @@ -994,7 +994,7 @@ Future testPatchAndSelector() async {
|
| Selector selector =
|
| new Selector.call(const PublicName('method'), CallStructure.NO_ARGS);
|
| TypeMask typeMask = new TypeMask.exact(cls, world);
|
| - FunctionElement method = cls.implementation.lookupLocalMember('method');
|
| + MethodElement method = cls.implementation.lookupLocalMember('method');
|
| method.computeType(compiler.resolution);
|
| Expect.isTrue(selector.applies(method));
|
| Expect.isTrue(typeMask.canHit(method, selector, world));
|
|
|