Index: tests/compiler/dart2js/type_combination_test.dart |
diff --git a/tests/compiler/dart2js/type_combination_test.dart b/tests/compiler/dart2js/type_combination_test.dart |
index 1e0af606619c271f22a4d82da0419a9b1345e256..f15d471f1ad76899cb623db3812f7004967cf294 100644 |
--- a/tests/compiler/dart2js/type_combination_test.dart |
+++ b/tests/compiler/dart2js/type_combination_test.dart |
@@ -736,7 +736,7 @@ void main() { |
"""); |
JavaScriptBackend backend = compiler.backend; |
BackendHelpers helpers = backend.helpers; |
- ClosedWorld world = compiler.closedWorld; |
+ ClosedWorld world = compiler.openWorld.closeWorld(); |
helpers.interceptorsLibrary.forEachLocalMember((element) { |
if (element.isClass) { |
element.ensureResolved(compiler.resolution); |
@@ -753,7 +753,7 @@ void main() { |
compiler.enqueuer.resolution, compiler.globalDependencies); |
backend.registerInstantiatedType(patternImplClass.rawType, |
compiler.enqueuer.resolution, compiler.globalDependencies); |
- compiler.openWorld.populate(); |
+ compiler.openWorld.closeWorld(); |
// Grab hold of a supertype for String so we can produce potential |
// string types. |