Index: pkg/compiler/lib/src/library_loader.dart |
diff --git a/pkg/compiler/lib/src/library_loader.dart b/pkg/compiler/lib/src/library_loader.dart |
index 3e5ddde094dd997f8b3c01f3725d8b95a6e8afd4..b2d7d05f7311a52e0ef5025155649e217a26515d 100644 |
--- a/pkg/compiler/lib/src/library_loader.dart |
+++ b/pkg/compiler/lib/src/library_loader.dart |
@@ -371,7 +371,7 @@ class _LibraryLoaderTask extends CompilerTask implements LibraryLoaderTask { |
* the import/export scopes are not set up. |
*/ |
Future processLibraryTags(LibraryDependencyHandler handler, |
- LibraryElement library) { |
+ LibraryElementX library) { |
TagState tagState = new TagState(); |
bool importsDartCore = false; |
@@ -649,7 +649,7 @@ class ImportLink { |
/** |
* Imports the library into the [importingLibrary]. |
*/ |
- void importLibrary(Compiler compiler, LibraryElement importingLibrary) { |
+ void importLibrary(Compiler compiler, LibraryElementX importingLibrary) { |
assert(invariant(importingLibrary, |
importedLibrary.exportsHandled, |
message: 'Exports not handled on $importedLibrary')); |
@@ -722,7 +722,7 @@ class ExportLink { |
* exports performed in [LibraryDependencyHandler.computeExports]. |
*/ |
class LibraryDependencyNode { |
- final LibraryElement library; |
+ final LibraryElementX library; |
// TODO(ahe): Remove [hashCodeCounter] and [hashCode] when |
// VM implementation of Object.hashCode is not slow. |
@@ -765,7 +765,7 @@ class LibraryDependencyNode { |
Map<Element, Link<Export>> pendingExportMap = |
new Map<Element, Link<Export>>(); |
- LibraryDependencyNode(LibraryElement this.library); |
+ LibraryDependencyNode(this.library); |
/** |
* Registers that the library of this node imports [importLibrary] through the |
@@ -1015,7 +1015,7 @@ class LibraryDependencyHandler implements LibraryLoader { |
/** |
* Registers that [library] depends on [loadedLibrary] through [tag]. |
*/ |
- void registerDependency(LibraryElement library, |
+ void registerDependency(LibraryElementX library, |
LibraryDependency tag, |
LibraryElement loadedLibrary) { |
if (tag != null) { |