From 8e313553a3435042cdf295d7436b01af4ea4938a Mon Sep 17 00:00:00 2001 From: Vadim Mishenev Date: Tue, 28 Feb 2023 17:26:10 +0200 Subject: Fix unresolved link to declaration from another source set (#2878) --- core/src/main/kotlin/model/DisplaySourceSet.kt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'core/src/main/kotlin') diff --git a/core/src/main/kotlin/model/DisplaySourceSet.kt b/core/src/main/kotlin/model/DisplaySourceSet.kt index 85904db6..5ea1ba3d 100644 --- a/core/src/main/kotlin/model/DisplaySourceSet.kt +++ b/core/src/main/kotlin/model/DisplaySourceSet.kt @@ -5,6 +5,14 @@ import org.jetbrains.dokka.DokkaSourceSetID import org.jetbrains.dokka.Platform import org.jetbrains.dokka.utilities.SelfRepresentingSingletonSet +/** + * TODO: fix the example (asymmetric equivalence relation with [Set]): + * ``` + * val ds = DokkaSourceSetImpl(sourceSetID = DokkaSourceSetID("", "")).toDisplaySourceSet() + * println(setOf(ds) == ds) // true + * println(ds == setOf(ds)) // false + * ``` + */ data class DisplaySourceSet( val sourceSetIDs: CompositeSourceSetID, val name: String, -- cgit