Index: tests/compiler/dart2js/compiler_helper.dart |
diff --git a/tests/compiler/dart2js/compiler_helper.dart b/tests/compiler/dart2js/compiler_helper.dart |
index bd00affc7cc022a0451ee1393f127a874b9974d2..c9bd50801dff41883d431e03024875997762fdd5 100644 |
--- a/tests/compiler/dart2js/compiler_helper.dart |
+++ b/tests/compiler/dart2js/compiler_helper.dart |
@@ -75,7 +75,7 @@ Future<String> compile(String code, |
compiler.backend.enqueueHelpers( |
compiler.enqueuer.resolution, compiler.globalDependencies); |
compiler.processQueue(compiler.enqueuer.resolution, element); |
- compiler.openWorld.populate(); |
+ compiler.openWorld.closeWorld(); |
compiler.backend.onResolutionComplete(); |
ResolutionWorkItem resolutionWork = new ResolutionWorkItem(element); |
resolutionWork.run(compiler, compiler.enqueuer.resolution); |