blob: 4ae05315d432c9f73527fe69583f2bbe58f8dfca [file] [log] [blame]
library;
import self as self;
static const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/regress/issue_29978.dart:8:13: Error: A function expression can't have a name.\n foo(null, f() {});\n ^"]/* from null */;
static method foo(dynamic a, dynamic b) dynamic
return null;
static method main() dynamic {
self::foo(null, let final () dynamic f = () dynamic {} in f);
}