| Index: pkg/front_end/testcases/inference/generic_methods_downwards_inference_fold.dart.direct.expect
|
| diff --git a/pkg/front_end/testcases/inference/generic_methods_downwards_inference_fold.dart.direct.expect b/pkg/front_end/testcases/inference/generic_methods_downwards_inference_fold.dart.direct.expect
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f4c3fe5e411e41db4b398b52af468dff91b898b0
|
| --- /dev/null
|
| +++ b/pkg/front_end/testcases/inference/generic_methods_downwards_inference_fold.dart.direct.expect
|
| @@ -0,0 +1,17 @@
|
| +library test;
|
| +import self as self;
|
| +import "dart:core" as core;
|
| +
|
| +static method test() → void {
|
| + core::List<core::int> o;
|
| + core::int y = o.fold(0, (dynamic x, dynamic y) → dynamic => x.+(y));
|
| + dynamic z = o.fold(0, (dynamic x, dynamic y) → dynamic => x.+(y));
|
| + y = z;
|
| +}
|
| +static method functionExpressionInvocation() → void {
|
| + core::List<core::int> o;
|
| + core::int y = o.fold.call(0, (dynamic x, dynamic y) → dynamic => x.+(y));
|
| + dynamic z = o.fold.call(0, (dynamic x, dynamic y) → dynamic => x.+(y));
|
| + y = z;
|
| +}
|
| +static method main() → dynamic {}
|
|
|