| 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 52faa8f515cb9fc67b56ba9c0bb3033661dc3fe8..85c87baa502890f1e2e4d3cdaadad9ee9a346bde 100644
|
| --- a/pkg/analyzer/test/generated/parser_test.dart
|
| +++ b/pkg/analyzer/test/generated/parser_test.dart
|
| @@ -14730,4 +14730,15 @@ enum E {
|
| var typeAlias = parseFullCompilationUnitMember() as GenericTypeAlias;
|
| expectCommentText(typeAlias.documentationComment, '/// Doc');
|
| }
|
| +
|
| + void test_parseTypeVariable_withDocumentationComment() {
|
| + createParser('''
|
| +class A<
|
| + /// Doc
|
| + B> {}
|
| +''');
|
| + var classDeclaration = parseFullCompilationUnitMember() as ClassDeclaration;
|
| + var typeVariable = classDeclaration.typeParameters.typeParameters[0];
|
| + expectCommentText(typeVariable.documentationComment, '/// Doc');
|
| + }
|
| }
|
|
|