aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
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)