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

Unified Diff: tests/compiler/dart2js/field_type_simple_inferer_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/field_type_simple_inferer_test.dart
diff --git a/tests/compiler/dart2js/field_type_simple_inferer_test.dart b/tests/compiler/dart2js/field_type_simple_inferer_test.dart
index ad287786a35f5080b320e5d8f1eac59be8b0ef80..ad3fb2d1ba88c12b7f2c0a817aa5129b5981754c 100644
--- a/tests/compiler/dart2js/field_type_simple_inferer_test.dart
+++ b/tests/compiler/dart2js/field_type_simple_inferer_test.dart
@@ -533,7 +533,7 @@ void test() {
ClassElement cls =
types.compiler.backend.helpers.jsIndexableClass;
return new TypeMask.nonNullSubtype(cls,
- types.compiler.world);
+ types.compiler.closedWorld);
}});
runTest(TEST_16, {'f': subclassOfInterceptor});
runTest(TEST_17, {'f': (types) => types.uint31Type.nullable()});
« no previous file with comments | « tests/compiler/dart2js/expect_annotations_test.dart ('k') | tests/compiler/dart2js/gvn_dynamic_field_get_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698