| Index: tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart
|
| diff --git a/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart b/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart
|
| index 1253b834ad7d2a2e563c17a875f7f20a17a83cfb..f0be6f8b10e7ffd225c03238b17ebfd9c4d3207d 100644
|
| --- a/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart
|
| +++ b/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart
|
| @@ -32,7 +32,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;
|
|
|
| checkReturnInClass(String className, String methodName, type) {
|
| var cls = findElement(compiler, className);
|
| @@ -40,6 +40,7 @@ void main() {
|
| Expect.equals(type, typesInferrer.getReturnTypeOfElement(element));
|
| }
|
|
|
| - checkReturnInClass('A', '+', compiler.commonMasks.uint31Type);
|
| + checkReturnInClass(
|
| + 'A', '+', compiler.closedWorld.commonMasks.uint31Type);
|
| }));
|
| }
|
|
|