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

Unified Diff: sdk/lib/_internal/pub/lib/src/dart.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: 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;

Powered by Google App Engine
This is Rietveld 408576698