| Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/ParseLibraryFileTask.java
|
| ===================================================================
|
| --- editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/ParseLibraryFileTask.java (revision 6826)
|
| +++ editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/ParseLibraryFileTask.java (working copy)
|
| @@ -21,6 +21,8 @@
|
|
|
| import java.io.File;
|
| import java.net.URI;
|
| +import java.util.HashSet;
|
| +import java.util.Set;
|
|
|
| /**
|
| * Parse a library source file and create the associated {@link Library}
|
| @@ -55,8 +57,9 @@
|
| if (libraryFile.exists()) {
|
| library = context.getCachedLibrary(libraryFile);
|
| if (library == null) {
|
| - DartUnit unit = parse(server, libraryFile, librarySource, libraryFile);
|
| - library = Library.fromDartUnit(server, libraryFile, librarySource, unit);
|
| + Set<String> prefixes = new HashSet<String>();
|
| + DartUnit unit = parse(server, libraryFile, librarySource, libraryFile, prefixes);
|
| + library = Library.fromDartUnit(server, libraryFile, librarySource, unit, prefixes);
|
| context.cacheLibrary(library);
|
| }
|
| }
|
|
|