| Index: tests/compiler/dart2js/patch_test.dart
|
| diff --git a/tests/compiler/dart2js/patch_test.dart b/tests/compiler/dart2js/patch_test.dart
|
| index 805fa93111ca2fd1b57cdd20ec9419f238af84ad..3c35eb15d413081726c5814de70feac1f2fd0c0f 100644
|
| --- a/tests/compiler/dart2js/patch_test.dart
|
| +++ b/tests/compiler/dart2js/patch_test.dart
|
| @@ -915,7 +915,8 @@ Future testPatchAndSelector() async {
|
| """,
|
| runCompiler: true,
|
| analyzeOnly: true);
|
| - compiler.closeResolution();
|
| + compiler.closeResolution(
|
| + compiler.frontendStrategy.elementEnvironment.mainFunction);
|
| ClosedWorld world = compiler.resolutionWorldBuilder.closedWorldForTesting;
|
|
|
| ClassElement cls = ensure(
|
|
|