diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-11-22 17:52:32 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-11-22 17:52:32 +0300 |
commit | c821247cf3c342788e372470cf9c3ff9c2665a7f (patch) | |
tree | 1d2d51981b501a1068079beb4e2cf8635a562c54 /core/src | |
parent | 454b4a4c8490a04fcfe17309596c6316cd321113 (diff) | |
download | dokka-c821247cf3c342788e372470cf9c3ff9c2665a7f.tar.gz dokka-c821247cf3c342788e372470cf9c3ff9c2665a7f.tar.bz2 dokka-c821247cf3c342788e372470cf9c3ff9c2665a7f.zip |
Use / for receiver parameter signature
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/kotlin/Kotlin/DocumentationBuilder.kt | 2 |
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 0f6f217e..8f8c08a4 100644 --- a/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt +++ b/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt @@ -922,7 +922,7 @@ fun DeclarationDescriptor.signature(): String { is FunctionDescriptor -> containingDeclaration.signature() + "$" + name + parameterSignature() is ValueParameterDescriptor -> containingDeclaration.signature() + "/" + name is TypeParameterDescriptor -> containingDeclaration.signature() + "*" + name - is ReceiverParameterDescriptor -> containingDeclaration.signature() + "*" + name + is ReceiverParameterDescriptor -> containingDeclaration.signature() + "/" + name else -> throw UnsupportedOperationException("Don't know how to calculate signature for $this") } } |