| Index: pkg/front_end/testcases/inference/generic_methods_iterable_and_future.dart
|
| diff --git a/pkg/front_end/testcases/inference/generic_methods_iterable_and_future.dart b/pkg/front_end/testcases/inference/generic_methods_iterable_and_future.dart
|
| index 0de66c816a1995c024b08cc113644c11c9ea2698..82db05f02f77cef6308f75d157bad6c4ddcc0a4f 100644
|
| --- a/pkg/front_end/testcases/inference/generic_methods_iterable_and_future.dart
|
| +++ b/pkg/front_end/testcases/inference/generic_methods_iterable_and_future.dart
|
| @@ -21,7 +21,7 @@ main() {
|
| '',
|
| /*@returnType=FutureOr<String>*/ (/*@type=FutureOr<String>*/ x,
|
| /*@type=int*/ y) => /*info:DYNAMIC_CAST,info:DYNAMIC_INVOKE*/ x /*error:UNDEFINED_OPERATOR*/ +
|
| - y. /*@target=Object::toString*/ toString()));
|
| + y. /*@target=int::toString*/ toString()));
|
|
|
| Future<String> results3 =
|
| results. /*@typeArgs=String*/ /*@target=Future::then*/ then(
|
| @@ -32,7 +32,7 @@ main() {
|
| x,
|
| /*@type=int*/ y) =>
|
| x /*@target=String::+*/ +
|
| - y. /*@target=Object::toString*/ toString()));
|
| + y. /*@target=int::toString*/ toString()));
|
|
|
| Future<String> results4 =
|
| results. /*@typeArgs=String*/ /*@target=Future::then*/ then(
|
| @@ -42,5 +42,5 @@ main() {
|
| /*@returnType=String*/ (/*@type=String*/ x,
|
| /*@type=int*/ y) =>
|
| x /*@target=String::+*/ +
|
| - y. /*@target=Object::toString*/ toString()));
|
| + y. /*@target=int::toString*/ toString()));
|
| }
|
|
|