Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Unified Diff: tests/compiler/dart2js/type_combination_test.dart

Issue 2349163003: Move towards using WorldImpact for codegen (Closed)
Patch Set: Reinsert missing features uses. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
« no previous file with comments | « tests/compiler/dart2js/serialization/model_test_helper.dart ('k') | tests/compiler/dart2js/type_mask_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698