Skip to content

Commit 6715c59

Browse files
committed
Remove duplicated getter
1 parent 8b4d03e commit 6715c59

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

lib/src/model/package_graph.dart

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -552,25 +552,6 @@ class PackageGraph with CommentReferable, Nameable {
552552
return _libraryExports;
553553
}
554554

555-
/// A mapping from a [LibraryElement] to all of the [Library]s that export it,
556-
/// which is created if it is not yet populated.
557-
Map<LibraryElement, Set<Library>> get libraryExports2 {
558-
// The map must be reset if we're still in the middle of adding libraries
559-
// (though this shouldn't happen).
560-
if (_allLibraries.keys.length != _previousSizeOfAllLibraries) {
561-
assert(
562-
_previousSizeOfAllLibraries == 0,
563-
'Re-entered `libraryExports` while building all libraries',
564-
);
565-
_previousSizeOfAllLibraries = _allLibraries.keys.length;
566-
_libraryExports = {};
567-
for (var library in publicLibraries) {
568-
_tagExportsFor(library, library.element);
569-
}
570-
}
571-
return _libraryExports;
572-
}
573-
574555
/// A lookup index for hrefs to allow warnings to indicate where a broken
575556
/// link or orphaned file may have come from.
576557
///

0 commit comments

Comments
 (0)