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

Side by Side Diff: pkg/front_end/testcases/illegal_named_function_expression_scope.dart.direct.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/illegal_n amed_function_expression_scope.dart:7:9: Error: A function expression can't have a return type.\n print(void f() {});\n ^", "pkg/front_end/testcases/ill egal_named_function_expression_scope.dart:7:14: Error: A function expression can 't have a name.\n print(void f() {});\n ^"]/* from null */; 5 static const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/il legal_named_function_expression_scope.dart:7:9: Error: A function expression can 't have a return type.\n print(void f() {});\n ^", "pkg/front_end/testca ses/illegal_named_function_expression_scope.dart:7:14: Error: A function express ion can't have a name.\n print(void f() {});\n ^"]/* from null */;
6 static method main() → dynamic { 6 static method main() → dynamic {
7 function f() → void {} 7 function f() → void {}
8 core::print(let final () → void f = () → void {} in f); 8 core::print(let final () → void f = () → void {} in f);
9 } 9 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698