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

Side by Side Diff: pkg/front_end/testcases/regress/issue_29978.dart.direct.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 unified diff | Download patch
OLDNEW
(Empty)
1 library;
2 import self as self;
3
4 const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/regress/i ssue_29978.dart:8:13: Error: A function expression can't have a name.\n foo(nul l, f() {});\n ^"]/* from null */;
5 static method foo(dynamic a, dynamic b) → dynamic
6 return null;
7 static method main() → dynamic {
8 self::foo(null, let final dynamic f = () → dynamic {} in f);
9 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698