aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/translators/descriptors
diff options
context:
space:
mode:
authorSzymon Świstun <sswistun@virtuslab.com>2020-03-18 14:19:54 +0100
committerKamil Doległo <kamilok1965@users.noreply.github.com>2020-03-18 14:22:56 +0100
commit03329b0eb98b309d208839344052633028e00984 (patch)
treefb41aef63553562fe48e9ef39f9efe7f5824db71 /plugins/base/src/main/kotlin/translators/descriptors
parent9ac39176bee7c104ff350f968ee399ac97809ad9 (diff)
downloaddokka-03329b0eb98b309d208839344052633028e00984.tar.gz
dokka-03329b0eb98b309d208839344052633028e00984.tar.bz2
dokka-03329b0eb98b309d208839344052633028e00984.zip
Fix minor bugs and add core tests
Diffstat (limited to 'plugins/base/src/main/kotlin/translators/descriptors')
-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 8e0f1231..44679d8d 100644
--- a/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt
+++ b/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt
@@ -367,7 +367,7 @@ private class DokkaDescriptorVisitor( // TODO: close this class and make it priv
type = descriptor.type.toBound(),
documentation = descriptor.resolveDescriptorData(platformData),
platformData = listOf(platformData),
- extra = PropertyContainer.withAll(descriptor.additionalExtras())
+ extra = PropertyContainer.withAll(descriptor.additionalExtras(), descriptor.getAnnotations())
)
private fun MemberScope.functions(parent: DRIWithPlatformInfo): List<DFunction> =