aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-10-04 06:29:13 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-10-04 06:29:13 +0300
commit76e3ec143e12f36d0fe8e6aaec37f7e26cea9a39 (patch)
tree293e63f2a03fb59b6d73685ff6f15be53c88ea2b /core/src/main/kotlin
parent234169e34e4362e598e1cecb50f116c8c1ea74d2 (diff)
downloaddokka-76e3ec143e12f36d0fe8e6aaec37f7e26cea9a39.tar.gz
dokka-76e3ec143e12f36d0fe8e6aaec37f7e26cea9a39.tar.bz2
dokka-76e3ec143e12f36d0fe8e6aaec37f7e26cea9a39.zip
Remove return type from signature to remain compatible
Diffstat (limited to 'core/src/main/kotlin')
-rw-r--r--core/src/main/kotlin/Kotlin/DocumentationBuilder.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt b/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt
index b3e7c3aa..3fb22589 100644
--- a/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt
+++ b/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt
@@ -1067,7 +1067,7 @@ fun DeclarationDescriptor.signature(): String {
is TypeAliasDescriptor -> DescriptorUtils.getFqName(this).asString()
is PropertyDescriptor -> containingDeclaration.signature() + "$" + name + receiverSignature()
- is FunctionDescriptor -> containingDeclaration.signature() + "$" + name + parameterSignature() + ":" + returnType?.signature()
+ is FunctionDescriptor -> containingDeclaration.signature() + "$" + name + parameterSignature()
is ValueParameterDescriptor -> containingDeclaration.signature() + "/" + name
is TypeParameterDescriptor -> containingDeclaration.signature() + "*" + name
is ReceiverParameterDescriptor -> containingDeclaration.signature() + "/" + name