Index: pkg/front_end/testcases/inference/future_then_downwards_method_target.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/future_then_downwards_method_target.dart.direct.expect b/pkg/front_end/testcases/inference/future_then_downwards_method_target.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5c1094cd757eaf45da86c9c8172cea6c62239646 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/future_then_downwards_method_target.dart.direct.expect |
@@ -0,0 +1,11 @@ |
+library test; |
+import self as self; |
+import "dart:async" as asy; |
+import "dart:core" as core; |
+ |
+static method test() → dynamic { |
+ asy::Future<core::int> f; |
+ asy::Future<core::List<core::int>> b = f.then((dynamic x) → dynamic => <dynamic>[]).whenComplete(() → dynamic {}); |
+ b = f.then((dynamic x) → dynamic => <dynamic>[]); |
+} |
+static method main() → dynamic {} |