Index: tests/compiler/dart2js/patch_test.dart |
diff --git a/tests/compiler/dart2js/patch_test.dart b/tests/compiler/dart2js/patch_test.dart |
index 9c31628c126c3443419eacdc24b9de74e273941e..3990949491f2eb3937c039a04e434bbd981ece0d 100644 |
--- a/tests/compiler/dart2js/patch_test.dart |
+++ b/tests/compiler/dart2js/patch_test.dart |
@@ -920,7 +920,7 @@ Future testPatchAndSelector() async { |
""", |
runCompiler: true, |
analyzeOnly: true); |
- ClosedWorld world = compiler.openWorld.populate(); |
+ ClosedWorld world = compiler.openWorld.closeWorld(); |
ClassElement cls = ensure( |
compiler, "A", compiler.commonElements.coreLibrary.find, |