| Index: pkg/compiler/lib/src/apiimpl.dart
|
| diff --git a/pkg/compiler/lib/src/apiimpl.dart b/pkg/compiler/lib/src/apiimpl.dart
|
| index d3ca1bc4b0aaa49ced8033ba3f3e040091f1eaef..d2849d2c7fe6301fed1a93e32e311ab39bdc6323 100644
|
| --- a/pkg/compiler/lib/src/apiimpl.dart
|
| +++ b/pkg/compiler/lib/src/apiimpl.dart
|
| @@ -382,6 +382,16 @@ class Compiler extends leg.Compiler {
|
| });
|
| }
|
|
|
| + Future<elements.LibraryElement> analyzeUri(
|
| + Uri uri,
|
| + {bool skipLibraryWithPartOfTag: true}) {
|
| + if (packages == null) {
|
| + return setupPackages(uri).then((_) => super.analyzeUri(uri));
|
| + }
|
| + return super.analyzeUri(
|
| + uri, skipLibraryWithPartOfTag: skipLibraryWithPartOfTag);
|
| + }
|
| +
|
| Future setupPackages(Uri uri) {
|
| if (packageRoot != null) {
|
| // Use "non-file" packages because the file version requires a [Directory]
|
|
|