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

Unified Diff: pkg/docgen/lib/docgen.dart

Issue 27510003: Scanner for UTF-8 byte arrays (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fixes compiler tests Created 7 years, 2 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/docgen/lib/docgen.dart
diff --git a/pkg/docgen/lib/docgen.dart b/pkg/docgen/lib/docgen.dart
index 13f83af9b8da2533d4593f6d0258ebfc1521d50d..7ec72ecf39f3b5a4c4af5accb70ccee862f1143a 100644
--- a/pkg/docgen/lib/docgen.dart
+++ b/pkg/docgen/lib/docgen.dart
@@ -198,7 +198,7 @@ Future<MirrorSystem> getMirrorSystem(List<String> args, {String packageRoot,
*/
Future<MirrorSystem> _analyzeLibraries(List<String> libraries,
String libraryRoot, {String packageRoot}) {
- SourceFileProvider provider = new SourceFileProvider();
+ SourceFileProvider provider = new CompilerSourceFileProvider();
api.DiagnosticHandler diagnosticHandler =
new FormattingDiagnosticHandler(provider).diagnosticHandler;
Uri libraryUri = new Uri(scheme: 'file', path: appendSlash(libraryRoot));
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/compiler.dart » ('j') | sdk/lib/_internal/compiler/implementation/apiimpl.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698