| 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 80815300bf8105e0ee6e9058504a3e577c822d7d..801b1eb1e2c75f18f8f6d4c6c13403427f89bb5c 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
|
| @@ -12,16 +12,16 @@ main() {
|
| num x;
|
| dynamic y;
|
|
|
| - num a = max(
|
| + num a = /*@typeArgs=num*/ max(
|
| /*@promotedType=none*/ x,
|
| /*info:DYNAMIC_CAST*/ /*@promotedType=none*/ y);
|
| - Object b = max(
|
| + Object b = /*@typeArgs=num*/ max(
|
| /*@promotedType=none*/ x,
|
| /*info:DYNAMIC_CAST*/ /*@promotedType=none*/ y);
|
| - dynamic c = /*error:COULD_NOT_INFER*/ max(
|
| + dynamic c = /*error:COULD_NOT_INFER*/ /*@typeArgs=dynamic*/ max(
|
| /*@promotedType=none*/ x,
|
| /*@promotedType=none*/ y);
|
| - var /*@type=dynamic*/ d = /*error:COULD_NOT_INFER*/ max(
|
| + var /*@type=dynamic*/ d = /*error:COULD_NOT_INFER*/ /*@typeArgs=dynamic*/ max(
|
| /*@promotedType=none*/ x,
|
| /*@promotedType=none*/ y);
|
| }
|
|
|