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

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

Issue 2968093003: Improve parsing of function expressions. (Closed)
Patch Set: Update to new message API. 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/regress/issue_29937.dart.strong.expect
diff --git a/pkg/front_end/testcases/regress/issue_29937.dart.strong.expect b/pkg/front_end/testcases/regress/issue_29937.dart.strong.expect
new file mode 100644
index 0000000000000000000000000000000000000000..cb189717f23c01ea400d8557237733b1b35edcff
--- /dev/null
+++ b/pkg/front_end/testcases/regress/issue_29937.dart.strong.expect
@@ -0,0 +1,7 @@
+library;
+import self as self;
+
+const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/regress/issue_29937.dart:6:4: Error: A function expression can't have a name.\n [f() {}];\n ^"]/* from null */;
+static method main() → dynamic {
+ <dynamic>[let final dynamic f = () → dynamic {} in f];
+}

Powered by Google App Engine
This is Rietveld 408576698