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 */;
6 static method main() → dynamic {
7 function f() → void {}
8 core::print(let final () → core::Null f = () → core::Null {} in f);
Issue 2994973002: Implement type variables on local function declarations and expressions.
(Closed)
Created 3 years, 4 months ago by ahe
Modified 3 years, 4 months ago
Reviewers: danrubel, Johnni Winther, Paul Berry
Base URL:
Comments: 2