Index: pkg/front_end/test/scanner_fasta_test.dart |
diff --git a/pkg/front_end/test/scanner_fasta_test.dart b/pkg/front_end/test/scanner_fasta_test.dart |
index 622111895530632fce454f1c365b0bec82056bb8..050672d7f0c39151aa3bc2e95cd87fbea978baf9 100644 |
--- a/pkg/front_end/test/scanner_fasta_test.dart |
+++ b/pkg/front_end/test/scanner_fasta_test.dart |
@@ -102,7 +102,7 @@ class ScannerTest_Fasta extends ScannerTestBase { |
while (!token.isEof) { |
++tokenCount; |
// Assert valid comments |
- fasta.Token comment = token.precedingComments; |
+ fasta.CommentToken comment = token.precedingComments; |
while (comment != null) { |
++commentTokenCount; |
expect(comment.info.kind, fasta.COMMENT_TOKEN); |
@@ -177,7 +177,7 @@ class ScannerTest_Fasta extends ScannerTestBase { |
new fasta.StringScanner(source, includeComments: true).tokenize(); |
while (!token.isEof) { |
expect(token.next.previousToken, token); |
- fasta.Token commentToken = token.precedingComments; |
+ fasta.CommentToken commentToken = token.precedingComments; |
while (commentToken != null) { |
if (commentToken.next != null) { |
expect(commentToken.next.previousToken, commentToken); |