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

Unified Diff: lib/compiler/implementation/scanner/parser_bench.dart

Issue 9956171: Minor fixes to remove some warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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
Index: lib/compiler/implementation/scanner/parser_bench.dart
diff --git a/lib/compiler/implementation/scanner/parser_bench.dart b/lib/compiler/implementation/scanner/parser_bench.dart
index c8f6cc0bba521e64f0bf442f1318e0ce48b8de24..69dea0adce1541d218fb700c8020c520a122ca18 100644
--- a/lib/compiler/implementation/scanner/parser_bench.dart
+++ b/lib/compiler/implementation/scanner/parser_bench.dart
@@ -12,7 +12,7 @@ class ParserBench extends BaseParserBench {
Token scanFileNamed(String filename) {
Token token;
getBytes(filename, (bytes) {
- AbstractScanner scanner = makeScanner(bytes);
+ StringScanner scanner = makeScanner(bytes);
try {
token = scanner.tokenize();
printTokens(token);
« no previous file with comments | « lib/compiler/implementation/scanner/d8_scanner_bench.dart ('k') | lib/compiler/implementation/tree/nodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698