| 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 4803b35063c94c0e846f1e353c7e23cef2fa0cca..0d2e64f9bd55cf34286f53ff99e30ec1006960bf 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,10 +7,11 @@ library test;
|
|
|
| import 'dart:math';
|
|
|
| -void printInt(int x) => print(x);
|
| -void printDouble(double x) => print(x);
|
| +void printInt(int x) => print(/*@promotedType=none*/ x);
|
| +void printDouble(double x) => print(/*@promotedType=none*/ x);
|
|
|
| -num myMax(num x, num y) => max(x, y);
|
| +num myMax(num x, num y) =>
|
| + max(/*@promotedType=none*/ x, /*@promotedType=none*/ y);
|
|
|
| f() {
|
| // Okay if static types match.
|
|
|