Index: tests/compiler/dart2js/trust_type_annotations_test.dart |
diff --git a/tests/compiler/dart2js/trust_type_annotations_test.dart b/tests/compiler/dart2js/trust_type_annotations_test.dart |
index 301d061c6d6e54890dccaff63daea803b608a616..f0777f249892972844d098c25a500a1307630355 100644 |
--- a/tests/compiler/dart2js/trust_type_annotations_test.dart |
+++ b/tests/compiler/dart2js/trust_type_annotations_test.dart |
@@ -66,7 +66,8 @@ void main() { |
typesInferrer.getTypeOfElement(element), compiler.world)); |
} |
- var intMask = new TypeMask.subtype(compiler.intClass, compiler.world); |
+ var intMask = new TypeMask.subtype( |
+ compiler.coreClasses.intClass, compiler.world); |
checkReturn('foo', intMask); |
checkReturn('faa', intMask); |