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); |