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

Unified Diff: pkg/front_end/test/fasta/parser/token_stream_rewriter_test.dart

Issue 2748583002: fix missed rename fasta.Token.value --> lexeme (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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/test/fasta/parser/token_stream_rewriter_test.dart
diff --git a/pkg/front_end/test/fasta/parser/token_stream_rewriter_test.dart b/pkg/front_end/test/fasta/parser/token_stream_rewriter_test.dart
index 06524b3ba5bcb6384beec777c721cf12ea5cd0c0..15f7afd0be5cc0cf8a22bfc9e0bf8dadcd030eeb 100644
--- a/pkg/front_end/test/fasta/parser/token_stream_rewriter_test.dart
+++ b/pkg/front_end/test/fasta/parser/token_stream_rewriter_test.dart
@@ -110,7 +110,7 @@ abstract class TokenStreamRewriterTest {
if (setPrevious) token.previousToken = head;
head = token;
}
- int eofOffset = head.charOffset + head.value.length;
+ int eofOffset = head.charOffset + head.lexeme.length;
if (eofOffset < 0) eofOffset = 0;
Token eof = new SymbolToken(EOF_INFO, eofOffset);
head.next = eof;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698