Index: pkg/front_end/testcases/inference/future_union_downwards_generic_method_with_generic_return.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/future_union_downwards_generic_method_with_generic_return.dart.direct.expect b/pkg/front_end/testcases/inference/future_union_downwards_generic_method_with_generic_return.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..99a343cd0e421579ab2caf236e5e2d7fa7fb8a16 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/future_union_downwards_generic_method_with_generic_return.dart.direct.expect |
@@ -0,0 +1,12 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+import "dart:async" as asy; |
+ |
+static method id<T extends core::Object>(self::id::T x) → self::id::T |
+ return x; |
+static method test() → dynamic async { |
+ asy::Future<core::String> f; |
+ core::String s = await self::id<dynamic>(f); |
+} |
+static method main() → dynamic {} |