Index: tests/compiler/dart2js/patch_test.dart |
diff --git a/tests/compiler/dart2js/patch_test.dart b/tests/compiler/dart2js/patch_test.dart |
index 0eb044580fd8cda1e98c5d6f733b0d351abcce45..4277cd4082e0ef4e57dc597025fb0848eba635d0 100644 |
--- a/tests/compiler/dart2js/patch_test.dart |
+++ b/tests/compiler/dart2js/patch_test.dart |
@@ -973,7 +973,8 @@ Future testPatchAndSelector() async { |
""", |
runCompiler: true, |
analyzeOnly: true); |
- ClosedWorld world = compiler.openWorld.closeWorld(compiler.reporter); |
+ compiler.closeResolution(); |
+ ClosedWorld world = compiler.closedWorld; |
ClassElement cls = ensure( |
compiler, "A", compiler.commonElements.coreLibrary.find, |