aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2016-01-14 14:04:24 +0100
committerDmitry Jemerov <yole@jetbrains.com>2016-01-14 14:04:24 +0100
commitdecb439ec77d53b317dc14ba2e07dc4cd9b188db (patch)
tree9701d48c695957ae5e9ee6d8a82855ef30268ae8 /core/src
parent5ed4d2e511f96bc2f949228ee1ddc9dacf28c2a2 (diff)
downloaddokka-decb439ec77d53b317dc14ba2e07dc4cd9b188db.tar.gz
dokka-decb439ec77d53b317dc14ba2e07dc4cd9b188db.tar.bz2
dokka-decb439ec77d53b317dc14ba2e07dc4cd9b188db.zip
fix resolve of @sample links
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt b/core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt
index 7d39e5ac..5911660c 100644
--- a/core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt
+++ b/core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt
@@ -199,6 +199,8 @@ class DescriptorDocumentationParser
}
currentScope = if (partSymbol is ClassDescriptor)
partSymbol.defaultType.memberScope
+ else if (partSymbol is PackageViewDescriptor)
+ partSymbol.memberScope
else
getResolutionScope(resolutionFacade, partSymbol)
symbol = partSymbol