| Index: pkg/analyzer/lib/src/generated/resolver.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/resolver.dart b/pkg/analyzer/lib/src/generated/resolver.dart
|
| index fe6664f9423f40d344e8557d8c1c2efa3b34fa24..8da32743ddca0f2cc4ca40727aa145857db18a68 100644
|
| --- a/pkg/analyzer/lib/src/generated/resolver.dart
|
| +++ b/pkg/analyzer/lib/src/generated/resolver.dart
|
| @@ -16067,9 +16067,11 @@ class LibraryImportScope extends Scope {
|
| List<String> indirectSources = new List<String>();
|
| for (int i = 0; i < count; i++) {
|
| LibraryElement importedLibrary = imports[i].importedLibrary;
|
| - for (LibraryElement exportedLibrary in importedLibrary.exportedLibraries) {
|
| - if (identical(exportedLibrary, library)) {
|
| - indirectSources.add(importedLibrary.definingCompilationUnit.displayName);
|
| + if (importedLibrary != null) {
|
| + for (LibraryElement exportedLibrary in importedLibrary.exportedLibraries) {
|
| + if (identical(exportedLibrary, library)) {
|
| + indirectSources.add(importedLibrary.definingCompilationUnit.displayName);
|
| + }
|
| }
|
| }
|
| }
|
|
|