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)); |