| Index: dart/pkg/compiler/lib/src/elements/modelx.dart
|
| diff --git a/dart/pkg/compiler/lib/src/elements/modelx.dart b/dart/pkg/compiler/lib/src/elements/modelx.dart
|
| index 903f205198148729e9ec582505043e4c41cae264..883706a4e55cae03f382fdf23fddfe832451d3e9 100644
|
| --- a/dart/pkg/compiler/lib/src/elements/modelx.dart
|
| +++ b/dart/pkg/compiler/lib/src/elements/modelx.dart
|
| @@ -756,6 +756,10 @@ class LibraryElementX
|
| extends ElementX with AnalyzableElementX, PatchMixin<LibraryElementX>
|
| implements LibraryElement {
|
| final Uri canonicalUri;
|
| +
|
| + /// True if the constructing script was synthesized.
|
| + final bool isSynthesized;
|
| +
|
| CompilationUnitElement entryCompilationUnit;
|
| Link<CompilationUnitElement> compilationUnits =
|
| const Link<CompilationUnitElement>();
|
| @@ -787,6 +791,7 @@ class LibraryElementX
|
| [Uri canonicalUri, LibraryElementX origin])
|
| : this.canonicalUri =
|
| ((canonicalUri == null) ? script.readableUri : canonicalUri),
|
| + this.isSynthesized = script.isSynthesized,
|
| super(script.name, ElementKind.LIBRARY, null) {
|
| entryCompilationUnit = new CompilationUnitElementX(script, this);
|
| if (origin != null) {
|
|
|