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

Unified Diff: pkg/front_end/lib/compiler_options.dart

Issue 2554933002: Make PhysicalFileSystem the default (Closed)
Patch Set: Created 4 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/compiler_options.dart
diff --git a/pkg/front_end/lib/compiler_options.dart b/pkg/front_end/lib/compiler_options.dart
index f9f2f29841cc70541d270834627ee7a159a9c948..ac75dd112906137788f7eb2640441b359c901a9e 100644
--- a/pkg/front_end/lib/compiler_options.dart
+++ b/pkg/front_end/lib/compiler_options.dart
@@ -6,6 +6,7 @@ library front_end.compiler_options;
import 'compilation_error.dart';
import 'file_system.dart';
+import 'physical_file_system.dart';
/// Callback used to report errors encountered during compilation.
typedef void ErrorHandler(CompilationError error);
@@ -91,12 +92,9 @@ class CompilerOptions {
/// The [FileSystem] which should be used by the front end to access files.
///
- /// TODO(paulberry): once an implementation of [FileSystem] has been created
- /// which uses the actual physical file system, make that the default.
- ///
/// All file system access performed by the front end goes through this
/// mechanism, with one exception: if no value is specified for
/// [packagesFilePath], the packages file is located using the actual physical
/// file system. TODO(paulberry): fix this.
- FileSystem fileSystem;
+ FileSystem fileSystem = PhysicalFileSystem.instance;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698