| Index: pkg/docgen/lib/docgen.dart
|
| diff --git a/pkg/docgen/lib/docgen.dart b/pkg/docgen/lib/docgen.dart
|
| index c99919033583e5fde79f1a13bf31af5bb6662145..15be68eb7676bd0378a61df7fc520a17083e1aa5 100644
|
| --- a/pkg/docgen/lib/docgen.dart
|
| +++ b/pkg/docgen/lib/docgen.dart
|
| @@ -543,7 +543,7 @@ String findElementInScope(String name, LibraryMirror currentLibrary,
|
| if (libraryScope != null) return docName(libraryScope);
|
|
|
| // Look in the dart core library scope.
|
| - var coreScope = lookupFunc(_coreLibrary, name);
|
| + var coreScope = _coreLibrary == null? null : lookupFunc(_coreLibrary, name);
|
| if (coreScope != null) return docName(_coreLibrary);
|
|
|
| // If it's a reference that starts with a another library name, then it
|
|
|