Index: tests/compiler/dart2js/simple_inferrer_const_closure5_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_const_closure5_test.dart b/tests/compiler/dart2js/simple_inferrer_const_closure5_test.dart |
index 413a3858f26243911e03aa273cbab611807805d8..a41c254ed02e6a30455efc9eb3b6715b5331eb91 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_const_closure5_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_const_closure5_test.dart |
@@ -29,7 +29,7 @@ void main() { |
Uri uri = new Uri(scheme: 'source'); |
var compiler = compilerFor(TEST, uri); |
asyncTest(() => compiler.run(uri).then((_) { |
- var typesInferrer = compiler.globalInference.typesInferrer; |
+ var typesInferrer = compiler.globalInference.typesInferrerInternal; |
checkArgument(String functionName, type) { |
var functionElement = findElement(compiler, functionName); |
@@ -41,6 +41,6 @@ void main() { |
functionName); |
} |
- checkArgument('method', compiler.commonMasks.numType); |
+ checkArgument('method', compiler.closedWorld.commonMasks.numType); |
})); |
} |