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 abf00f0d43d154a7044eaab16d32f1242fee7b6d..b7933436262efd08d7fc614e5d075e647b429f67 100644 |
--- a/tests/compiler/dart2js/trust_type_annotations_test.dart |
+++ b/tests/compiler/dart2js/trust_type_annotations_test.dart |
@@ -68,8 +68,8 @@ void main() { |
typesInferrer.getTypeOfElement(element), closedWorld)); |
} |
- var intMask = |
- new TypeMask.subtype(compiler.commonElements.intClass, closedWorld); |
+ var intMask = new TypeMask.subtype( |
+ closedWorld.commonElements.intClass, closedWorld); |
checkReturn('foo', intMask); |
checkReturn('faa', intMask); |