Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(551)

Unified Diff: pkg/front_end/testcases/inference/top_level_return_and_yield.dart.outline.expect

Issue 2899073004: Use declared return type for inference of return and yield statements. (Closed)
Patch Set: Simpler implementation Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/testcases/inference/top_level_return_and_yield.dart.outline.expect
diff --git a/pkg/front_end/testcases/inference/top_level_return_and_yield.dart.outline.expect b/pkg/front_end/testcases/inference/top_level_return_and_yield.dart.outline.expect
new file mode 100644
index 0000000000000000000000000000000000000000..5a11fa5cf939a17bbf21d8f5ad6457004cf1aaa6
--- /dev/null
+++ b/pkg/front_end/testcases/inference/top_level_return_and_yield.dart.outline.expect
@@ -0,0 +1,20 @@
+library test;
+import self as self;
+import "dart:core" as core;
+import "dart:async" as asy;
+
+typedef IntToInt = (core::int) → core::int;
+static method a() → (core::int) → core::int
+ ;
+static method b() → asy::Future<(core::int) → core::int>
+ ;
+static method c() → core::Iterable<(core::int) → core::int>
+ ;
+static method d() → core::Iterable<(core::int) → core::int>
+ ;
+static method e() → asy::Stream<(core::int) → core::int>
+ ;
+static method f() → asy::Stream<(core::int) → core::int>
+ ;
+static method main() → dynamic
+ ;

Powered by Google App Engine
This is Rietveld 408576698