Index: tests/compiler/dart2js/type_mask_test.dart |
diff --git a/tests/compiler/dart2js/type_mask_test.dart b/tests/compiler/dart2js/type_mask_test.dart |
index fa7d108fddd4e40901740a6e521e0a48cf13b285..c361afe70774e5702559cef740728020ea9aebee 100644 |
--- a/tests/compiler/dart2js/type_mask_test.dart |
+++ b/tests/compiler/dart2js/type_mask_test.dart |
@@ -37,8 +37,8 @@ main() { |
var subclassA = new TypeMask.nonNullSubclass(classA, classWorld); |
var subtypeA = new TypeMask.nonNullSubtype(classA, classWorld); |
- var subclassObject = new TypeMask.nonNullSubclass(compiler.objectClass, |
- classWorld); |
+ var subclassObject = new TypeMask.nonNullSubclass( |
+ compiler.coreClasses.objectClass, classWorld); |
var unionABC = UnionTypeMask.unionOf([exactA, exactB, exactC], classWorld); |
var unionABnC = UnionTypeMask.unionOf([exactA, exactB.nullable(), exactC], |