Skip to content

Commit

Permalink
Deduplicate exported members in categories (#3867)
Browse files Browse the repository at this point in the history
  • Loading branch information
srawlins authored Sep 4, 2024
1 parent 91bd5de commit 94c185a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/model/package.dart
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ class Package extends LibraryContainer
void initializeCategories() {
defaultCategory = Category(null, this, config);
nameToCategory = {};
for (var library in libraries) {
for (var library in libraries.wherePublic) {
addToCategories(library, (c) => c.libraries.add(library));
for (var constant in library.constants) {
addToCategories(constant, (c) => c.constants.add(constant));
Expand Down

0 comments on commit 94c185a

Please sign in to comment.