| 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 dcd11cb5836a7f7416d1b3dc71f3e83b88ecb509..42e49e4f43249f3ee09f88ed5254f49113ff6362 100644
|
| --- a/pkg/analyzer/test/generated/parser_test.dart
|
| +++ b/pkg/analyzer/test/generated/parser_test.dart
|
| @@ -6954,6 +6954,14 @@ void''');
|
| expect(declaration.propertyKeyword, isNull);
|
| }
|
|
|
| + void test_parseCompilationUnitMember_function_withTypeParameters() {
|
| + enableGenericMethods = true;
|
| + FunctionDeclaration declaration = parse("parseCompilationUnitMember",
|
| + <Object>[emptyCommentAndMetadata()], "void f<T>(T t) {}");
|
| + expect(declaration.functionExpression, isNotNull);
|
| + expect(declaration.propertyKeyword, isNull);
|
| + }
|
| +
|
| void test_parseCompilationUnitMember_function_void() {
|
| FunctionDeclaration declaration = parse("parseCompilationUnitMember",
|
| <Object>[emptyCommentAndMetadata()], "void f() {}");
|
|
|