Index: tests/compiler/dart2js/type_inference6_test.dart |
diff --git a/tests/compiler/dart2js/type_inference6_test.dart b/tests/compiler/dart2js/type_inference6_test.dart |
index 7eaf0a5fe6b9333c15944bc5506c5a9dd8360bee..a9cdc0ad597ea62b2363719c58ec1f2c1909d4e5 100644 |
--- a/tests/compiler/dart2js/type_inference6_test.dart |
+++ b/tests/compiler/dart2js/type_inference6_test.dart |
@@ -24,8 +24,8 @@ Future runTest() { |
Uri uri = new Uri(scheme: 'source'); |
var compiler = compilerFor(TEST, uri); |
return compiler.run(uri).then((_) { |
- var commonMasks = compiler.commonMasks; |
- var typesInferrer = compiler.globalInference.typesInferrer; |
+ var commonMasks = compiler.closedWorld.commonMasks; |
+ var typesInferrer = compiler.globalInference.typesInferrerInternal; |
var element = findElement(compiler, "foo"); |
var mask = typesInferrer.getReturnTypeOfElement(element); |
Expect.equals(commonMasks.uint31Type, simplify(mask, compiler)); |