diff options
author | Vadim Mishenev <vad-mishenev@yandex.ru> | 2023-02-28 17:26:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-28 17:26:10 +0200 |
commit | 8e313553a3435042cdf295d7436b01af4ea4938a (patch) | |
tree | 2396cbf22c33a6ec0613a3ad3002d922e834530b /core/src/main/kotlin | |
parent | 00c9142af2c39c9d3636722f1808a211bf971931 (diff) | |
download | dokka-8e313553a3435042cdf295d7436b01af4ea4938a.tar.gz dokka-8e313553a3435042cdf295d7436b01af4ea4938a.tar.bz2 dokka-8e313553a3435042cdf295d7436b01af4ea4938a.zip |
Fix unresolved link to declaration from another source set (#2878)
Diffstat (limited to 'core/src/main/kotlin')
-rw-r--r-- | core/src/main/kotlin/model/DisplaySourceSet.kt | 8 |
1 files changed, 8 insertions, 0 deletions
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, |