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

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

Issue 2314703002: Split World usage into open, inference, and closed world. (Closed)
Patch Set: Updated cf. comments 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_mask2_test.dart
diff --git a/tests/compiler/dart2js/type_mask2_test.dart b/tests/compiler/dart2js/type_mask2_test.dart
index 03db5802e1599e2bf63fb558f39237b427076cf7..ba6f2db7d8633f59e33b9c7ff1bde0f2afae60a4 100644
--- a/tests/compiler/dart2js/type_mask2_test.dart
+++ b/tests/compiler/dart2js/type_mask2_test.dart
@@ -103,7 +103,7 @@ Future testUnionTypeMaskFlatten() async {
""",
useMockCompiler: false);
- ClassWorld classWorld = env.compiler.world;
+ ClassWorld classWorld = env.compiler.closedWorld;
ClassElement Object_ = env.getElement("Object");
ClassElement A = env.getElement("A");
@@ -224,7 +224,7 @@ Future testStringSubtypes() async {
}
""",
useMockCompiler: false);
- var classWorld = env.compiler.world;
+ var classWorld = env.compiler.closedWorld;
var backend = env.compiler.backend;
ClassElement Object_ = env.getElement("Object");
« no previous file with comments | « tests/compiler/dart2js/type_combination_test.dart ('k') | tests/compiler/dart2js/type_mask_disjoint_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698