aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-04-26 22:24:20 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-07-14 23:56:25 +0300
commit9831944e07b5acd5558d901cefa0ba49c24d91ff (patch)
tree81ee81406a6964c95b6633065a89a205a6b9faca /core
parentd8e3a6b6811569b77d2b523df6ade772ef38dde1 (diff)
downloaddokka-9831944e07b5acd5558d901cefa0ba49c24d91ff.tar.gz
dokka-9831944e07b5acd5558d901cefa0ba49c24d91ff.tar.bz2
dokka-9831944e07b5acd5558d901cefa0ba49c24d91ff.zip
[backport] Make accessible
Original: 44ec370 KT-24039: Support Inherited xml attributes
Diffstat (limited to 'core')
-rw-r--r--core/src/main/kotlin/Kotlin/KotlinLanguageService.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Kotlin/KotlinLanguageService.kt b/core/src/main/kotlin/Kotlin/KotlinLanguageService.kt
index 75d9fbbf..b6474583 100644
--- a/core/src/main/kotlin/Kotlin/KotlinLanguageService.kt
+++ b/core/src/main/kotlin/Kotlin/KotlinLanguageService.kt
@@ -472,5 +472,5 @@ fun DocumentationNode.qualifiedNameFromType(): String {
}
-private val DocumentationNode.typeDeclarationClass
+val DocumentationNode.typeDeclarationClass
get() = (links.firstOrNull { it.kind in NodeKind.classLike } ?: externalType)