| Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/index/impl/InMemoryIndex.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/index/impl/InMemoryIndex.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/index/impl/InMemoryIndex.java
|
| index fe7091f1386aa1b047a7239440fb414b695d02b0..8854aaebefba4fbd6f2e0d9b97e07e404a8ef82e 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/index/impl/InMemoryIndex.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/index/impl/InMemoryIndex.java
|
| @@ -255,10 +255,12 @@ public class InMemoryIndex implements Index {
|
| Resource indexerResource;
|
| if (SystemLibraryManager.isDartUri(unitUri)) {
|
| indexerResource = new Resource(ResourceFactory.composeResourceId(
|
| - librarySource.getUri().toString(), unitUri.toString()));
|
| + librarySource.getUri().toString(),
|
| + unitUri.toString()));
|
| } else if (SystemLibraryManager.isPackageUri(unitUri)) {
|
| indexerResource = new Resource(ResourceFactory.composeResourceId(
|
| - libraryFile.toURI().toString(), sourceFile.toURI().toString()));
|
| + libraryFile.toURI().toString(),
|
| + sourceFile.toURI().toString()));
|
| } else {
|
| indexerResource = ResourceFactory.getResource(compilationUnit);
|
| }
|
| @@ -497,7 +499,7 @@ public class InMemoryIndex implements Index {
|
| long endTime = System.currentTimeMillis();
|
| initIndexingTime += endTime - startTime;
|
| }
|
| - for (LibraryUnit importedLibrary : libraryUnit.getImports()) {
|
| + for (LibraryUnit importedLibrary : libraryUnit.getImportedLibraries()) {
|
| indexBundledLibrary(importedLibrary, initializedLibraries);
|
| }
|
| }
|
| @@ -559,7 +561,7 @@ public class InMemoryIndex implements Index {
|
| long endTime = System.currentTimeMillis();
|
| initIndexingTime += endTime - startTime;
|
| }
|
| - for (LibraryUnit importedLibrary : libraryUnit.getImports()) {
|
| + for (LibraryUnit importedLibrary : libraryUnit.getImportedLibraries()) {
|
| // library.getImportedLibrary(importedLibrary.getSource().getUri());
|
| indexUserLibrary(importedLibrary, initializedLibraries);
|
| }
|
|
|