| Index: pkg/analyzer/tool/summary/mini_ast.dart
|
| diff --git a/pkg/analyzer/tool/summary/mini_ast.dart b/pkg/analyzer/tool/summary/mini_ast.dart
|
| index 930efe9d4783a9822411f67374624ee87777a71a..e84afa9d4b46b260c68b99396ff452527816af3e 100644
|
| --- a/pkg/analyzer/tool/summary/mini_ast.dart
|
| +++ b/pkg/analyzer/tool/summary/mini_ast.dart
|
| @@ -163,7 +163,7 @@ class MiniAstBuilder extends StackListener {
|
| void beginMetadataStar(Token token) {
|
| debugEvent("beginMetadataStar");
|
| if (token.precedingComments != null) {
|
| - push(new Comment(token.precedingComments));
|
| + push(new Comment(token.precedingCommentTokens));
|
| } else {
|
| push(NullValue.Comments);
|
| }
|
| @@ -389,7 +389,7 @@ class MiniAstBuilder extends StackListener {
|
|
|
| void handleIdentifier(Token token, IdentifierContext context) {
|
| if (context == IdentifierContext.enumValueDeclaration) {
|
| - var comment = new Comment(token.precedingComments);
|
| + var comment = new Comment(token.precedingCommentTokens);
|
| push(new EnumConstantDeclaration(comment, null, token.lexeme));
|
| } else {
|
| push(token.lexeme);
|
|
|