aboutsummaryrefslogtreecommitdiff
path: root/src/Kotlin/DocumentationBuilder.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-02-27 18:00:43 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-02-27 18:00:43 +0100
commit467fe55ba6372f37b76533f41d538c76b44a2006 (patch)
treee7f0094f6d8921cf8683d36425ff00c1ee429139 /src/Kotlin/DocumentationBuilder.kt
parent7b91d7dd32e953674d66dbfb7ef6306258b1cfb7 (diff)
downloaddokka-467fe55ba6372f37b76533f41d538c76b44a2006.tar.gz
dokka-467fe55ba6372f37b76533f41d538c76b44a2006.tar.bz2
dokka-467fe55ba6372f37b76533f41d538c76b44a2006.zip
properties don't have value parameters, no need to include them in the signature
Diffstat (limited to 'src/Kotlin/DocumentationBuilder.kt')
-rw-r--r--src/Kotlin/DocumentationBuilder.kt5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Kotlin/DocumentationBuilder.kt b/src/Kotlin/DocumentationBuilder.kt
index 3910de04..d8933087 100644
--- a/src/Kotlin/DocumentationBuilder.kt
+++ b/src/Kotlin/DocumentationBuilder.kt
@@ -86,8 +86,9 @@ class DocumentationBuilder(val session: ResolveSession,
}
fun PropertyDescriptor.receiverSignature(): String {
- if (getExtensionReceiverParameter() != null || getValueParameters().size() > 0) {
- return "#" + parameterSignature()
+ val receiver = getExtensionReceiverParameter()
+ if (receiver != null) {
+ return "#" + receiver.getType().signature()
}
return ""
}