Index: pkg/analyzer/lib/src/generated/parser.dart |
diff --git a/pkg/analyzer/lib/src/generated/parser.dart b/pkg/analyzer/lib/src/generated/parser.dart |
index 94ad0ccfdd884228cf7d4a3db9f2548ddce166ac..5d1432315373d7562af6e550fcb85ef0ffa54f6e 100644 |
--- a/pkg/analyzer/lib/src/generated/parser.dart |
+++ b/pkg/analyzer/lib/src/generated/parser.dart |
@@ -4598,9 +4598,8 @@ class Parser { |
if (commentTokens.isEmpty) { |
return null; |
} |
- List<Token> tokens = new List.from(commentTokens); |
- List<CommentReference> references = _parseCommentReferences(tokens); |
- return Comment.createDocumentationCommentWithReferences(tokens, references); |
+ List<CommentReference> references = _parseCommentReferences(commentTokens); |
+ return Comment.createDocumentationCommentWithReferences(commentTokens, references); |
} |
/** |
@@ -6442,7 +6441,7 @@ class Parser { |
_reportErrorForCurrentToken(ParserErrorCode.MISSING_IDENTIFIER, []); |
components.add(_createSyntheticToken(TokenType.IDENTIFIER)); |
} |
- return new SymbolLiteral(poundSign, new List.from(components)); |
+ return new SymbolLiteral(poundSign, components); |
} |
/** |