Skip to content

Commit

Permalink
Deduplicate extensions (#2780)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmishenev authored Jan 9, 2023
1 parent c3aa879 commit 2161c39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ open class DefaultPageCreator(
val extensions = (classlikes as List<WithExtraProperties<DClasslike>>).flatMap {
it.extra[CallableExtensions]?.extensions
?.filterIsInstance<Documentable>().orEmpty()
}
}.distinctBy{ it.sourceSets to it.dri} // [Documentable] has expensive equals/hashCode at the moment, see #2620

// Extensions are added to sourceSets since they can be placed outside the sourceSets from classlike
// Example would be an Interface in common and extension function in jvm
Expand Down

0 comments on commit 2161c39

Please sign in to comment.