| 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 63f7e521eeff74693034bde5dcc71029ec6eb990..4803b35063c94c0e846f1e353c7e23cef2fa0cca 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
|
| @@ -12,7 +12,7 @@ void printDouble(double x) => print(x);
|
|
|
| num myMax(num x, num y) => max(x, y);
|
|
|
| -main() {
|
| +f() {
|
| // Okay if static types match.
|
| printInt(max(1, 2));
|
| printInt(min(1, 2));
|
| @@ -34,3 +34,5 @@ main() {
|
| /*error:ARGUMENT_TYPE_NOT_ASSIGNABLE*/ "hi",
|
| /*error:ARGUMENT_TYPE_NOT_ASSIGNABLE*/ "there"));
|
| }
|
| +
|
| +main() {}
|
|
|