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

Unified Diff: pkg/front_end/testcases/inference/infer_local_function_return_type.dart.direct.expect

Issue 2976283002: Update expectations. (Closed)
Patch Set: Update compile.status. Created 3 years, 5 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/infer_local_function_return_type.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/infer_local_function_return_type.dart.direct.expect b/pkg/front_end/testcases/inference/infer_local_function_return_type.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..a759cfb9c514da05a9be5673fb566ce79963fba0
--- /dev/null
+++ b/pkg/front_end/testcases/inference/infer_local_function_return_type.dart.direct.expect
@@ -0,0 +1,38 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+static method test() → dynamic {
+ function f0() → dynamic
+ return 42;
+ function f1() → dynamic async
+ return 42;
+ function f2() → dynamic {
+ return 42;
+ }
+ function f3() → dynamic async {
+ return 42;
+ }
+ function f4() → dynamic sync* {
+ yield 42;
+ }
+ function f5() → dynamic async* {
+ yield 42;
+ }
+ function f6() → core::num
+ return 42;
+ function f7() → dynamic
+ return f7.call();
+ function f8() → dynamic
+ return f5.call();
+ dynamic v0 = f0;
+ dynamic v1 = f1;
+ dynamic v2 = f2;
+ dynamic v3 = f3;
+ dynamic v4 = f4;
+ dynamic v5 = f5;
+ dynamic v6 = f6;
+ dynamic v7 = f7;
+ dynamic v8 = f8;
+}
+static method main() → dynamic {}

Powered by Google App Engine
This is Rietveld 408576698