Index: pkg/compiler/lib/src/serialization/modelz.dart |
diff --git a/pkg/compiler/lib/src/serialization/modelz.dart b/pkg/compiler/lib/src/serialization/modelz.dart |
index 0c06ea4b821a422970523ebf53370456b90fc40a..36ec45caac15caf7317b8c064403a2627c358f38 100644 |
--- a/pkg/compiler/lib/src/serialization/modelz.dart |
+++ b/pkg/compiler/lib/src/serialization/modelz.dart |
@@ -495,6 +495,7 @@ class LibraryElementZ extends DeserializedElementZ |
class ScriptZ implements Script { |
final Uri resourceUri; |
SourceFile _file; |
+ bool _isSynthesized = false; |
ScriptZ(this.resourceUri); |
@@ -518,7 +519,11 @@ class ScriptZ implements Script { |
// TODO(johnniwinther): Decide if it is meaningful to serialize erroneous |
// elements. |
@override |
- bool get isSynthesized => false; |
+ bool get isSynthesized => _isSynthesized; |
+ |
+ void set isSynthesized(bool value) { |
+ _isSynthesized = value; |
+ } |
@override |
String get name { |