Skip to content

Commit 94c185a

Browse files
authored
Deduplicate exported members in categories (#3867)
1 parent 91bd5de commit 94c185a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/model/package.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ class Package extends LibraryContainer
269269
void initializeCategories() {
270270
defaultCategory = Category(null, this, config);
271271
nameToCategory = {};
272-
for (var library in libraries) {
272+
for (var library in libraries.wherePublic) {
273273
addToCategories(library, (c) => c.libraries.add(library));
274274
for (var constant in library.constants) {
275275
addToCategories(constant, (c) => c.constants.add(constant));

0 commit comments

Comments
 (0)