| Index: pkg/front_end/testcases/inference/future_then_downwards_method_target.dart
|
| diff --git a/pkg/front_end/testcases/inference/future_then_downwards_method_target.dart b/pkg/front_end/testcases/inference/future_then_downwards_method_target.dart
|
| index b8e018e3f8c2e757d7ad7de645bc0f9bd7ee35ff..5d9a04ad9a56f9f68b81e0a4a346ead3fb5ef192 100644
|
| --- a/pkg/front_end/testcases/inference/future_then_downwards_method_target.dart
|
| +++ b/pkg/front_end/testcases/inference/future_then_downwards_method_target.dart
|
| @@ -7,7 +7,7 @@ library test;
|
|
|
| import 'dart:async';
|
|
|
| -main() {
|
| +test() {
|
| Future<int> f;
|
| Future<List<int>> b = /*info:ASSIGNMENT_CAST should be pass*/ f
|
| . /*@typeArgs=List<dynamic>*/ /*@target=Future::then*/ then(
|
| @@ -17,3 +17,5 @@ main() {
|
| b = f. /*@typeArgs=List<int>*/ /*@target=Future::then*/ then(
|
| /*@returnType=List<int>*/ (/*@type=int*/ x) => /*@typeArgs=int*/ []);
|
| }
|
| +
|
| +main() {}
|
|
|