| Index: tests/compiler/dart2js/concrete_type_inference_test.dart
|
| diff --git a/tests/compiler/dart2js/concrete_type_inference_test.dart b/tests/compiler/dart2js/concrete_type_inference_test.dart
|
| index de673f837735c351b4145890976fd022556a566a..6a142cd98baa3d0ec1496a3b7bb29c7e30c251f3 100644
|
| --- a/tests/compiler/dart2js/concrete_type_inference_test.dart
|
| +++ b/tests/compiler/dart2js/concrete_type_inference_test.dart
|
| @@ -25,7 +25,7 @@ void checkPrintType(String expression, checkType(compiler, type)) {
|
| var parameter =
|
| printElement.functionSignature.requiredParameters.first;
|
| var type =
|
| - compiler.globalInference.getGuaranteedTypeOfElement(parameter);
|
| + compiler.globalInference.results.typeOf(parameter);
|
| checkType(compiler, type);
|
| }));
|
|
|
| @@ -36,7 +36,7 @@ void checkPrintType(String expression, checkType(compiler, type)) {
|
| var parameter =
|
| printElement.functionSignature.requiredParameters.first;
|
| var type =
|
| - compiler.globalInference.getGuaranteedTypeOfElement(parameter);
|
| + compiler.globalInference.results.typeOf(parameter);
|
| checkType(compiler, type);
|
| }));
|
|
|
| @@ -47,7 +47,7 @@ void checkPrintType(String expression, checkType(compiler, type)) {
|
| var parameter =
|
| printElement.functionSignature.requiredParameters.first;
|
| var type =
|
| - compiler.globalInference.getGuaranteedTypeOfElement(parameter);
|
| + compiler.globalInference.results.typeOf(parameter);
|
| checkType(compiler, type);
|
| }));
|
| }
|
| @@ -91,13 +91,13 @@ void testOptionalParameters() {
|
| var inference = compiler.globalInference;
|
| Expect.identical(
|
| commonMasks.uint31Type,
|
| - inference.getGuaranteedTypeOfElement(firstParameter));
|
| + inference.results.typeOf(firstParameter));
|
| Expect.identical(
|
| commonMasks.nullType,
|
| - inference.getGuaranteedTypeOfElement(secondParameter));
|
| + inference.results.typeOf(secondParameter));
|
| Expect.identical(
|
| commonMasks.nullType,
|
| - inference.getGuaranteedTypeOfElement(thirdParameter));
|
| + inference.results.typeOf(thirdParameter));
|
| });
|
| }
|
|
|
|
|