0271003c33
This is another step towards removing parseType and improving recovery. Change-Id: Ie2cb1999406bc603355015e8a3b9aaa854f785db Reviewed-on: https://dart-review.googlesource.com/56120 Commit-Queue: Dan Rubel <danrubel@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
12 lines
420 B
Plaintext
12 lines
420 B
Plaintext
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: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 () → void f = () → dynamic {} in f);
|
|
}
|