| Index: tests/compiler/dart2js/expect_annotations_test.dart
|
| diff --git a/tests/compiler/dart2js/expect_annotations_test.dart b/tests/compiler/dart2js/expect_annotations_test.dart
|
| index 10ee78c7158fed5f972f84a621c1bcb9c2f36ed7..c9c47e0fdd146a566f7190313b47d26d65a24bb9 100644
|
| --- a/tests/compiler/dart2js/expect_annotations_test.dart
|
| +++ b/tests/compiler/dart2js/expect_annotations_test.dart
|
| @@ -92,17 +92,18 @@ main() {
|
| expectAssumeDynamic,
|
| backend.annotations.assumeDynamic(method),
|
| "Unexpected annotation of @AssumeDynamic on '$method'.");
|
| - TypesInferrer inferrer = compiler.globalInference.typesInferrer;
|
| + TypesInferrer inferrer = compiler.globalInference.typesInferrerInternal;
|
| if (expectTrustTypeAnnotations && expectedParameterType != null) {
|
| testTypeMatch(
|
| method, expectedParameterType, expectedReturnType, inferrer);
|
| } else if (expectAssumeDynamic) {
|
| - testTypeMatch(method, compiler.commonMasks.dynamicType, null, inferrer);
|
| + testTypeMatch(method, compiler.closedWorld.commonMasks.dynamicType,
|
| + null, inferrer);
|
| }
|
| }
|
|
|
| - TypeMask jsStringType = compiler.commonMasks.stringType;
|
| - TypeMask jsIntType = compiler.commonMasks.intType;
|
| + TypeMask jsStringType = compiler.closedWorld.commonMasks.stringType;
|
| + TypeMask jsIntType = compiler.closedWorld.commonMasks.intType;
|
| TypeMask coreStringType = new TypeMask.subtype(
|
| compiler.coreClasses.stringClass, compiler.closedWorld);
|
|
|
|
|