Index: sdk/lib/_internal/pub/lib/src/dart.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/dart.dart b/sdk/lib/_internal/pub/lib/src/dart.dart |
index e9db32fa7b1a18eadd2cbe4d5409b1cb257fbbf2..82686ca42bd40f9fc48b7e463d86668ad537a4ec 100644 |
--- a/sdk/lib/_internal/pub/lib/src/dart.dart |
+++ b/sdk/lib/_internal/pub/lib/src/dart.dart |
@@ -13,7 +13,7 @@ import 'package:path/path.dart' as path; |
import 'package:stack_trace/stack_trace.dart'; |
import '../../../compiler/compiler.dart' as compiler; |
import '../../../compiler/implementation/source_file_provider.dart' |
- show FormattingDiagnosticHandler, SourceFileProvider; |
+ show FormattingDiagnosticHandler, CompilerSourceFileProvider; |
import '../../../compiler/implementation/filenames.dart' |
show appendSlash; |
@@ -47,7 +47,7 @@ Future<String> compile(String entrypoint, {String packageRoot, |
} |
if (inputProvider == null) { |
- var provider = new SourceFileProvider(); |
+ var provider = new CompilerSourceFileProvider(); |
inputProvider = provider.readStringFromUri; |
diagnosticHandler = new FormattingDiagnosticHandler(provider) |
.diagnosticHandler; |