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

Unified Diff: dart/pkg/compiler/lib/src/script.dart

Issue 841653004: Recover from read errors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r42871 Created 5 years, 11 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
« no previous file with comments | « dart/pkg/compiler/lib/src/library_loader.dart ('k') | dart/pkg/compiler/lib/src/source_file_provider.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/compiler/lib/src/script.dart
diff --git a/dart/pkg/compiler/lib/src/script.dart b/dart/pkg/compiler/lib/src/script.dart
index 54bd63153254e7867f878e27d72e10211eaa71b6..fcdf8905f4f5f9857aad287a04950fc252c6258b 100644
--- a/dart/pkg/compiler/lib/src/script.dart
+++ b/dart/pkg/compiler/lib/src/script.dart
@@ -22,7 +22,12 @@ class Script {
*/
final Uri resourceUri;
- Script(this.readableUri, this.resourceUri, this.file);
+ /// This script was synthesized.
+ final bool isSynthesized;
+
+ Script(
+ this.readableUri, this.resourceUri, this.file,
+ {this.isSynthesized: false});
String get text => (file == null) ? null : file.slowText();
String get name => (file == null) ? null : file.filename;
« no previous file with comments | « dart/pkg/compiler/lib/src/library_loader.dart ('k') | dart/pkg/compiler/lib/src/source_file_provider.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698