aboutsummaryrefslogtreecommitdiff
path: root/src/Kotlin
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-06-30 16:31:36 +0200
committerDmitry Jemerov <yole@jetbrains.com>2015-06-30 16:32:01 +0200
commitb474d53294f010312ab63c56d6e6fc20aaa8fc5d (patch)
tree58dd585f63f00fcb19511ece1a5ef32db125f7a3 /src/Kotlin
parent648faf5783a78ebb4399f219ec87104c551567b2 (diff)
downloaddokka-b474d53294f010312ab63c56d6e6fc20aaa8fc5d.tar.gz
dokka-b474d53294f010312ab63c56d6e6fc20aaa8fc5d.tar.bz2
dokka-b474d53294f010312ab63c56d6e6fc20aaa8fc5d.zip
update to latest Kotlin
Diffstat (limited to 'src/Kotlin')
-rw-r--r--src/Kotlin/ContentBuilder.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Kotlin/ContentBuilder.kt b/src/Kotlin/ContentBuilder.kt
index 373967cb..2bf960a6 100644
--- a/src/Kotlin/ContentBuilder.kt
+++ b/src/Kotlin/ContentBuilder.kt
@@ -122,7 +122,7 @@ fun DocumentationBuilder.functionBody(descriptor: DeclarationDescriptor, functio
}
val scope = getResolutionScope(resolutionFacade, descriptor)
val rootPackage = session.getModuleDescriptor().getPackage(FqName.ROOT)!!
- val rootScope = rootPackage.getMemberScope()
+ val rootScope = rootPackage.memberScope
val symbol = resolveInScope(functionName, scope) ?: resolveInScope(functionName, rootScope)
if (symbol == null) {
logger.warn("Unresolved function $functionName in @sample in ${descriptor.signature()}")