Index: pkg/analyzer/example/parser_driver.dart |
diff --git a/pkg/analyzer/example/parser_driver.dart b/pkg/analyzer/example/parser_driver.dart |
index e69197bfe22488a8f43a9ec24e7b7f5794030163..4c93836f867ff3c2ae9ea5972db0917c6085b2a5 100644 |
--- a/pkg/analyzer/example/parser_driver.dart |
+++ b/pkg/analyzer/example/parser_driver.dart |
@@ -6,7 +6,6 @@ |
import 'dart:io'; |
-import 'package:analyzer/src/generated/java_core.dart' show CharSequence; |
import 'package:analyzer/src/generated/ast.dart'; |
import 'package:analyzer/src/generated/error.dart'; |
import 'package:analyzer/src/generated/parser.dart'; |
@@ -31,7 +30,7 @@ main(List<String> args) { |
_parse(File file) { |
var src = file.readAsStringSync(); |
var errorListener = new _ErrorCollector(); |
- var reader = new CharSequenceReader(new CharSequence(src)); |
+ var reader = new CharSequenceReader(src); |
var scanner = new Scanner(null, reader, errorListener); |
var token = scanner.tokenize(); |
var parser = new Parser(null, errorListener); |