aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/translators
diff options
context:
space:
mode:
authorPaweł Marks <pmarks@virtuslab.com>2020-03-11 11:51:57 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-03-11 13:08:17 +0100
commit11b223daa2c54d2b86efb5e6054fd7205ed0b37a (patch)
tree0d84b5e330ed8f99316b9c63e6ed48b785ca1630 /plugins/base/src/main/kotlin/translators
parent39759708d2329f81008e66ff57c11898cd739246 (diff)
downloaddokka-11b223daa2c54d2b86efb5e6054fd7205ed0b37a.tar.gz
dokka-11b223daa2c54d2b86efb5e6054fd7205ed0b37a.tar.bz2
dokka-11b223daa2c54d2b86efb5e6054fd7205ed0b37a.zip
Properly merge AdditionalModifiers from different platforms
Diffstat (limited to 'plugins/base/src/main/kotlin/translators')
-rw-r--r--plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt b/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt
index a1fda688..2b73dc7f 100644
--- a/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt
+++ b/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt
@@ -495,7 +495,7 @@ private class DokkaDescriptorVisitor( // TODO: close this class and make it priv
inline fun <reified D : Documentable> List<ExtraModifiers>.toContainer(
container: PropertyContainer<D> = PropertyContainer.empty()
): PropertyContainer<D> =
- container + AdditionalModifiers(this)
+ container + AdditionalModifiers(this.toSet())
data class ClassInfo(val supertypes: List<DRI>, val docs: PlatformDependent<DocumentationNode>)