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

Unified Diff: sdk/lib/_internal/compiler/implementation/source_file_provider.dart

Issue 256743009: Cache output of dart2js compilations that went wrong on disk. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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/compiler/implementation/source_file_provider.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/source_file_provider.dart (revision 35634)
+++ sdk/lib/_internal/compiler/implementation/source_file_provider.dart (working copy)
@@ -44,6 +44,7 @@
try {
source = readAll(resourceUri.toFilePath());
} on FileSystemException catch (ex) {
+ sourceFiles[resourceUri.toString()] = null;
return new Future.error(
"Error reading '${relativize(cwd, resourceUri, isWindows)}' "
"(${ex.osError})");

Powered by Google App Engine
This is Rietveld 408576698