Index: tests/compiler/dart2js/patch_test.dart |
diff --git a/tests/compiler/dart2js/patch_test.dart b/tests/compiler/dart2js/patch_test.dart |
index 89b98964e3c6d4ca540c1d26651d53e7812d9872..a7767a426cba98f0944081740c9cb1ef7d450f07 100644 |
--- a/tests/compiler/dart2js/patch_test.dart |
+++ b/tests/compiler/dart2js/patch_test.dart |
@@ -944,7 +944,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, expectIsPatched: true); |