| 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 97fb17cf3ccece41ed438797afc53eee95ff3b73..ec9e74e111c6036dab18736e6da8555e8eed65eb 100644
|
| --- a/pkg/analyzer/lib/src/fasta/ast_builder.dart
|
| +++ b/pkg/analyzer/lib/src/fasta/ast_builder.dart
|
| @@ -185,7 +185,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) {
|
| @@ -1650,7 +1650,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);
|
| }
|
|
|