| Index: pkg/analyzer/test/generated/parser_test.dart
|
| diff --git a/pkg/analyzer/test/generated/parser_test.dart b/pkg/analyzer/test/generated/parser_test.dart
|
| index 9c605211c71c457371ffbfd77ac076ae65830ad8..543576994302a8c7b7a81e442931cbcf9612f354 100644
|
| --- a/pkg/analyzer/test/generated/parser_test.dart
|
| +++ b/pkg/analyzer/test/generated/parser_test.dart
|
| @@ -3946,6 +3946,26 @@ m() {
|
| ]);
|
| }
|
|
|
| + void test_typedef_incomplete() {
|
| + // TODO(brianwilkerson) Improve recovery for this case.
|
| + parseCompilationUnit(
|
| + '''
|
| +class A {}
|
| +class B extends A {}
|
| +
|
| +typedef T
|
| +
|
| +main() {
|
| + Function<
|
| +}
|
| +''',
|
| + [
|
| + ParserErrorCode.EXPECTED_TOKEN,
|
| + ParserErrorCode.UNEXPECTED_TOKEN,
|
| + ParserErrorCode.EXPECTED_EXECUTABLE
|
| + ]);
|
| + }
|
| +
|
| void test_typedef_namedFunction() {
|
| // TODO(brianwilkerson) Improve recovery for this case.
|
| parseCompilationUnit('typedef void Function();', [
|
|
|