Index: pkg/front_end/testcases/inference/future_or_subtyping.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/future_or_subtyping.dart.direct.expect b/pkg/front_end/testcases/inference/future_or_subtyping.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2654b7e684f26c5cf75c6f385c700885e2c7bc65 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/future_or_subtyping.dart.direct.expect |
@@ -0,0 +1,13 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+import "dart:async" as asy; |
+ |
+static method add(core::int x) → void {} |
+static method add2(core::int y) → dynamic {} |
+static method test() → dynamic { |
+ asy::Future<core::int> f; |
+ dynamic a = f.then(self::add); |
+ dynamic b = f.then(self::add2); |
+} |
+static method main() → dynamic {} |