diff options
-rw-r--r-- | src/Kotlin/DocumentationBuilder.kt | 5 |
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 "" } |