| Index: pkg/analyzer/lib/src/fasta/ast_builder.dart
|
| diff --git a/pkg/analyzer/lib/src/fasta/ast_builder.dart b/pkg/analyzer/lib/src/fasta/ast_builder.dart
|
| index ac9846ea5469fba069bc66367bced3c00e040ea1..6f618da82e43fc10052848b1427a09449e2c12d9 100644
|
| --- a/pkg/analyzer/lib/src/fasta/ast_builder.dart
|
| +++ b/pkg/analyzer/lib/src/fasta/ast_builder.dart
|
| @@ -188,7 +188,7 @@ class AstBuilder extends ScopeListener {
|
| // TODO(paulberry): analyzer's ASTs allow for enumerated values to have
|
| // metadata, but the spec doesn't permit it.
|
| List<Annotation> metadata;
|
| - Comment comment = _toAnalyzerComment(token.precedingComments);
|
| + Comment comment = _toAnalyzerComment(token.precedingCommentTokens);
|
| push(ast.enumConstantDeclaration(comment, metadata, identifier));
|
| } else {
|
| if (context.isScopeReference) {
|
| @@ -1653,7 +1653,7 @@ class AstBuilder extends ScopeListener {
|
| void beginMetadataStar(Token token) {
|
| debugEvent("beginMetadataStar");
|
| if (token.precedingComments != null) {
|
| - push(_toAnalyzerComment(token.precedingComments));
|
| + push(_toAnalyzerComment(token.precedingCommentTokens));
|
| } else {
|
| push(NullValue.Comments);
|
| }
|
|
|