blob: 9c4d9bdd4a4483706a0b492787069e856864cb4b [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
static const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/illegal_named_function_expression_scope.dart:7:9: Error: A function expression can't have a return type.
print(void f() {});
^^^^", "pkg/front_end/testcases/illegal_named_function_expression_scope.dart:7:14: Error: A function expression can't have a name.
print(void f() {});
^"]/* from null */;
static method main() → dynamic {
function f() → void {}
core::print(let final () → core::Null f = () → core::Null {} in f);
}