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 0058bd93830f7aab12905e4705eb1889b86a9639..4731499e4bbebec2e00a3eaf82a137be7d0ed73f 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_test.dart |
@@ -761,7 +761,7 @@ void main() { |
checkReturn('returnEmpty1', const TypeMask.nonNullEmpty()); |
checkReturn('returnEmpty2', const TypeMask.nonNullEmpty()); |
TypeMask intType = new TypeMask.nonNullSubtype( |
- compiler.commonElements.intClass, closedWorld); |
+ closedWorld.commonElements.intClass, closedWorld); |
checkReturn('testIsCheck1', intType); |
checkReturn('testIsCheck2', intType); |
checkReturn('testIsCheck3', intType.nullable()); |
@@ -797,7 +797,7 @@ void main() { |
checkReturn( |
'returnAsString', |
new TypeMask.subtype( |
- compiler.commonElements.stringClass, closedWorld)); |
+ closedWorld.commonElements.stringClass, closedWorld)); |
checkReturn('returnIntAsNum', commonMasks.uint31Type); |
checkReturn('returnAsTypedef', commonMasks.functionType.nullable()); |
checkReturn('returnTopLevelGetter', commonMasks.uint31Type); |