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

Unified Diff: pkg/front_end/testcases/regress/issue_29942.dart.strong.expect

Issue 2994973002: Implement type variables on local function declarations and expressions. (Closed)
Patch Set: Update expectation files after adding copyright. Created 3 years, 4 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/regress/issue_29942.dart.strong.expect
diff --git a/pkg/front_end/testcases/regress/issue_29942.dart.strong.expect b/pkg/front_end/testcases/regress/issue_29942.dart.strong.expect
new file mode 100644
index 0000000000000000000000000000000000000000..3e9ea8fa42d32e459ee2e3a353585e9bb1316db3
--- /dev/null
+++ b/pkg/front_end/testcases/regress/issue_29942.dart.strong.expect
@@ -0,0 +1,7 @@
+library;
+import self as self;
+
+const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/regress/issue_29942.dart:8:5: Error: Expected a function body or '=>'.\nTry adding {}.\nf() =\n ^", "pkg/front_end/testcases/regress/issue_29942.dart:8:5: Error: Expected a function body or '=>'.\nf() =\n ^", "pkg/front_end/testcases/regress/issue_29942.dart:10:1: Error: A function expression can't have a name.\nh() => null;\n^"]/* from null */;
+static method main() → dynamic {}
+static method f() → dynamic
+ return let final () → dynamic h = () → dynamic => null in h;

Powered by Google App Engine
This is Rietveld 408576698