| Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/ParseFileTask.java
|
| ===================================================================
|
| --- editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/ParseFileTask.java (revision 6826)
|
| +++ editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/ParseFileTask.java (working copy)
|
| @@ -18,6 +18,7 @@
|
| import static com.google.dart.tools.core.analysis.AnalysisUtility.parse;
|
|
|
| import java.io.File;
|
| +import java.util.Set;
|
|
|
| /**
|
| * Parse a Dart source file and cache the result
|
| @@ -53,7 +54,8 @@
|
| if (dartUnit != null) {
|
| return;
|
| }
|
| - dartUnit = parse(server, library.getFile(), library.getLibrarySource(), dartFile);
|
| + Set<String> prefixes = library.getPrefixes();
|
| + dartUnit = parse(server, libraryFile, library.getLibrarySource(), dartFile, prefixes);
|
| library.cacheUnit(dartFile, dartUnit);
|
| }
|
| }
|
|
|