| Index: pkg/front_end/testcases/inference/generic_methods_dart_math_min_max.dart
|
| diff --git a/pkg/front_end/testcases/inference/generic_methods_dart_math_min_max.dart b/pkg/front_end/testcases/inference/generic_methods_dart_math_min_max.dart
|
| index 7d2414e5350a194c665fe37ba94c7a627a852b83..5d38e23748f4577aadbd1be56287cf14dbbf3c5c 100644
|
| --- a/pkg/front_end/testcases/inference/generic_methods_dart_math_min_max.dart
|
| +++ b/pkg/front_end/testcases/inference/generic_methods_dart_math_min_max.dart
|
| @@ -7,11 +7,11 @@ library test;
|
|
|
| import 'dart:math';
|
|
|
| -void printInt(int x) => print(/*@promotedType=none*/ x);
|
| -void printDouble(double x) => print(/*@promotedType=none*/ x);
|
| +void printInt(int x) => print(x);
|
| +void printDouble(double x) => print(x);
|
|
|
| num myMax(num x, num y) =>
|
| - /*@typeArgs=num*/ max(/*@promotedType=none*/ x, /*@promotedType=none*/ y);
|
| + /*@typeArgs=num*/ max(x, y);
|
|
|
| f() {
|
| // Okay if static types match.
|
|
|