| Index: pkg/front_end/testcases/inference/downward_inference_fixes_no_upwards_errors.dart
|
| diff --git a/pkg/front_end/testcases/inference/downward_inference_fixes_no_upwards_errors.dart b/pkg/front_end/testcases/inference/downward_inference_fixes_no_upwards_errors.dart
|
| index 801b1eb1e2c75f18f8f6d4c6c13403427f89bb5c..c1077392511d6bd2afc70154d66046acda79116c 100644
|
| --- a/pkg/front_end/testcases/inference/downward_inference_fixes_no_upwards_errors.dart
|
| +++ b/pkg/front_end/testcases/inference/downward_inference_fixes_no_upwards_errors.dart
|
| @@ -13,15 +13,12 @@ main() {
|
| dynamic y;
|
|
|
| num a = /*@typeArgs=num*/ max(
|
| - /*@promotedType=none*/ x,
|
| - /*info:DYNAMIC_CAST*/ /*@promotedType=none*/ y);
|
| + x,
|
| + /*info:DYNAMIC_CAST*/ y);
|
| Object b = /*@typeArgs=num*/ max(
|
| - /*@promotedType=none*/ x,
|
| - /*info:DYNAMIC_CAST*/ /*@promotedType=none*/ y);
|
| - dynamic c = /*error:COULD_NOT_INFER*/ /*@typeArgs=dynamic*/ max(
|
| - /*@promotedType=none*/ x,
|
| - /*@promotedType=none*/ y);
|
| + x,
|
| + /*info:DYNAMIC_CAST*/ y);
|
| + dynamic c = /*error:COULD_NOT_INFER*/ /*@typeArgs=dynamic*/ max(x, y);
|
| var /*@type=dynamic*/ d = /*error:COULD_NOT_INFER*/ /*@typeArgs=dynamic*/ max(
|
| - /*@promotedType=none*/ x,
|
| - /*@promotedType=none*/ y);
|
| + x, y);
|
| }
|
|
|