Index: tests/compiler/dart2js/simple_inferrer_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_test.dart b/tests/compiler/dart2js/simple_inferrer_test.dart |
index 1bc1cf5ad0601b1a1e2d12a9dc5b929d3f41289c..f1fe24f39fc78ff613df5c6e3b2ce7b3d88579b9 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_test.dart |
@@ -757,8 +757,8 @@ void main() { |
checkReturn('returnInt8', typesTask.positiveIntType); |
checkReturn('returnEmpty1', const TypeMask.nonNullEmpty()); |
checkReturn('returnEmpty2', const TypeMask.nonNullEmpty()); |
- TypeMask intType = new TypeMask.nonNullSubtype(compiler.intClass, |
- compiler.world); |
+ TypeMask intType = new TypeMask.nonNullSubtype( |
+ compiler.coreClasses.intClass, compiler.world); |
checkReturn('testIsCheck1', intType); |
checkReturn('testIsCheck2', intType); |
checkReturn('testIsCheck3', intType.nullable()); |
@@ -790,8 +790,8 @@ void main() { |
checkReturn('testIsCheck29', typesTask.dynamicType); |
checkReturn('testIf1', typesTask.uint31Type.nullable()); |
checkReturn('testIf2', typesTask.uint31Type.nullable()); |
- checkReturn('returnAsString', |
- new TypeMask.subtype(compiler.stringClass, compiler.world)); |
+ checkReturn('returnAsString', new TypeMask.subtype( |
+ compiler.coreClasses.stringClass, compiler.world)); |
checkReturn('returnIntAsNum', typesTask.uint31Type); |
checkReturn('returnAsTypedef', typesTask.functionType.nullable()); |
checkReturn('returnTopLevelGetter', typesTask.uint31Type); |