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

Unified Diff: pkg/front_end/lib/src/dependency_grapher_impl.dart

Issue 2784363002: flag to enable fasta scanner in analyzer (Closed)
Patch Set: rebase 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 | « pkg/analyzer/lib/src/dart/scanner/scanner.dart ('k') | pkg/front_end/lib/src/scanner/reader.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/dependency_grapher_impl.dart
diff --git a/pkg/front_end/lib/src/dependency_grapher_impl.dart b/pkg/front_end/lib/src/dependency_grapher_impl.dart
index 66aa443f8f6ab04709bd27863c408d26bf0ab0f3..216cc55da6aa75163fbcfb5960a2e7e4053b8a26 100644
--- a/pkg/front_end/lib/src/dependency_grapher_impl.dart
+++ b/pkg/front_end/lib/src/dependency_grapher_impl.dart
@@ -41,7 +41,7 @@ Future<Graph> graphForProgram(List<Uri> sources, ProcessedOptions options,
typedef Future<String> FileReader(Uri originalUri, Uri resolvedUri);
class _Scanner extends Scanner {
- _Scanner(String contents) : super(new CharSequenceReader(contents)) {
+ _Scanner(String contents) : super.create(new CharSequenceReader(contents)) {
preserveComments = false;
}
« no previous file with comments | « pkg/analyzer/lib/src/dart/scanner/scanner.dart ('k') | pkg/front_end/lib/src/scanner/reader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698