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

Side by Side Diff: pkg/front_end/testcases/regress/issue_29978.dart.strong.expect

Issue 2999033002: Mark top-level error field as static. (Closed)
Patch Set: Remove unused import. Created 3 years, 3 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
1 library; 1 library;
2 import self as self; 2 import self as self;
3 import "dart:core" as core; 3 import "dart:core" as core;
4 4
5 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 const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/re gress/issue_29978.dart:8:13: Error: A function expression can't have a name.\n foo(null, f() {});\n ^"]/* from null */;
6 static method foo(dynamic a, dynamic b) → dynamic 6 static method foo(dynamic a, dynamic b) → dynamic
7 return null; 7 return null;
8 static method main() → dynamic { 8 static method main() → dynamic {
9 self::foo(null, let final () → core::Null f = () → core::Null {} in f); 9 self::foo(null, let final () → core::Null f = () → core::Null {} in f);
10 } 10 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698