Index: pkg/front_end/testcases/inference/future_union_downwards_generic_method_with_future_return.dart.dartk.expect |
diff --git a/pkg/front_end/testcases/inference/future_union_downwards_generic_method_with_future_return.dart.dartk.expect b/pkg/front_end/testcases/inference/future_union_downwards_generic_method_with_future_return.dart.dartk.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..541a9deca6536894b9f005c3619b3c8b562905d1 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/future_union_downwards_generic_method_with_future_return.dart.dartk.expect |
@@ -0,0 +1,15 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+import "dart:async" as asy; |
+ |
+class A extends core::Object { |
+ constructor •() → void |
+ : super core::Object::•() |
+ ; |
+} |
+static method foo() → dynamic { |
+ asy::Future<dynamic> f1 = null; |
+ asy::Future<dynamic> f2 = null; |
+ core::List<dynamic> merged = await throw new core::NoSuchMethodError::•(null, #wait, <dynamic>[<dynamic>[f1, f2]], <dynamic, dynamic>{}, null); |
+} |