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

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

Issue 2349163003: Move towards using WorldImpact for codegen (Closed)
Patch Set: Cleanup. 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 b908e9f9144943a4f8be0b8bb128d51af4377062..e313c71521bac0cf27d1beaf2d66eb6f971f8939 100644
--- a/tests/compiler/dart2js/type_combination_test.dart
+++ b/tests/compiler/dart2js/type_combination_test.dart
@@ -739,7 +739,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);
@@ -764,7 +764,7 @@ void main() {
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.

Powered by Google App Engine
This is Rietveld 408576698