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

Unified Diff: pkg/analyzer/example/scanner_driver.dart

Issue 156763002: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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: pkg/analyzer/example/scanner_driver.dart
diff --git a/pkg/analyzer/example/scanner_driver.dart b/pkg/analyzer/example/scanner_driver.dart
index a19c6ebaabb25b95e1c3b45c87a19e2aaf9080fc..8eccee99644e8c2eb27dc9f2f6c38927ec65f15d 100644
--- a/pkg/analyzer/example/scanner_driver.dart
+++ b/pkg/analyzer/example/scanner_driver.dart
@@ -7,7 +7,6 @@
import 'dart:io';
import 'package:analyzer/src/generated/scanner.dart';
-import 'package:analyzer/src/generated/java_core.dart' show CharSequence;
main(List<String> args) {
@@ -26,7 +25,7 @@ main(List<String> args) {
_scan(File file) {
var src = file.readAsStringSync();
- var reader = new CharSequenceReader(new CharSequence(src));
+ var reader = new CharSequenceReader(src);
var scanner = new Scanner(null, reader, null);
var token = scanner.tokenize();
while (token.type != TokenType.EOF) {

Powered by Google App Engine
This is Rietveld 408576698