Index: pkg/compiler/lib/src/elements/modelx.dart |
diff --git a/pkg/compiler/lib/src/elements/modelx.dart b/pkg/compiler/lib/src/elements/modelx.dart |
index 64180300abff9c2149155de257d528af86254a25..e8cdfc5537f40baea8172d89b86395bc42a3711e 100644 |
--- a/pkg/compiler/lib/src/elements/modelx.dart |
+++ b/pkg/compiler/lib/src/elements/modelx.dart |
@@ -945,8 +945,11 @@ class ImportElementX extends LibraryDependencyElementX |
} |
class SyntheticImportElement extends ImportElementX { |
- SyntheticImportElement(CompilationUnitElement enclosingElement, Uri uri) |
- : super(enclosingElement, null, uri); |
+ SyntheticImportElement(CompilationUnitElement enclosingElement, Uri uri, |
+ LibraryElement libraryDependency) |
+ : super(enclosingElement, null, uri) { |
+ this.libraryDependency = libraryDependency; |
+ } |
@override |
Token get position => library.position; |