Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: pkg/analyzer/lib/src/fasta/token_utils.dart

Issue 2796483002: Ignore some uses of deprecated APIs. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/idea/.idea/.name ('k') | pkg/analyzer/test/generated/all_the_rest_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/fasta/token_utils.dart
diff --git a/pkg/analyzer/lib/src/fasta/token_utils.dart b/pkg/analyzer/lib/src/fasta/token_utils.dart
index 1e26cbe725486b5963efe2c68343990a5b17e270..0ebf61ed3666a94a7a20b1ae344cc27dc947e877 100644
--- a/pkg/analyzer/lib/src/fasta/token_utils.dart
+++ b/pkg/analyzer/lib/src/fasta/token_utils.dart
@@ -236,7 +236,7 @@ Token fromAnalyzerTokenStream(analyzer.Token analyzerToken) {
token = token.next;
while (token != null) {
tail.next = fromAnalyzerToken(token);
- tail.next.previousToken = tail;
+ tail.next.previousToken = tail; // ignore: deprecated_member_use
tail = tail.next;
token = token.next;
}
@@ -248,7 +248,7 @@ Token fromAnalyzerTokenStream(analyzer.Token analyzerToken) {
token.precedingCommentTokens =
translateComments(analyzerToken.precedingComments);
tokenTail.next = token;
- tokenTail.next.previousToken = tokenTail;
+ tokenTail.next.previousToken = tokenTail; // ignore: deprecated_member_use
tokenTail = token;
matchGroups(analyzerToken, token);
return analyzerToken.next;
@@ -258,7 +258,7 @@ Token fromAnalyzerTokenStream(analyzer.Token analyzerToken) {
// TODO(paulberry): join up begingroup/endgroup.
if (analyzerToken.type == TokenType.EOF) {
tokenTail.next = new SymbolToken.eof(analyzerToken.offset);
- tokenTail.next.previousToken = tokenTail;
+ tokenTail.next.previousToken = tokenTail; // ignore: deprecated_member_use
tokenTail.next.precedingCommentTokens =
translateComments(analyzerToken.precedingComments);
tokenTail.next.next = tokenTail.next;
« no previous file with comments | « client/idea/.idea/.name ('k') | pkg/analyzer/test/generated/all_the_rest_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698