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

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

Issue 1421003004: Add CoreClasses (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comment. Created 5 years, 2 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
« no previous file with comments | « tests/compiler/dart2js/type_mask_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/union_type_test.dart
diff --git a/tests/compiler/dart2js/union_type_test.dart b/tests/compiler/dart2js/union_type_test.dart
index c103d6fac87f4c0338c8db01a9e723f1ed4cb24d..d4e70c791ec3a74328f370f4d8a135fd761d5d9e 100644
--- a/tests/compiler/dart2js/union_type_test.dart
+++ b/tests/compiler/dart2js/union_type_test.dart
@@ -16,9 +16,9 @@ main() {
}
""").then((_) {
FlatTypeMask mask1 =
- new FlatTypeMask.exact(compiler.intClass);
+ new FlatTypeMask.exact(compiler.coreClasses.intClass);
FlatTypeMask mask2 =
- new FlatTypeMask.exact(compiler.stringClass);
+ new FlatTypeMask.exact(compiler.coreClasses.stringClass);
UnionTypeMask union1 = mask1.nonNullable().union(mask2, compiler.world);
UnionTypeMask union2 = mask2.nonNullable().union(mask1, compiler.world);
Expect.equals(union1, union2);
« no previous file with comments | « tests/compiler/dart2js/type_mask_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698