aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/translators/documentables
diff options
context:
space:
mode:
authorAndrey Tyrin <andrei.tyrin@jetbrains.com>2022-10-31 13:42:32 +0100
committerGitHub <noreply@github.com>2022-10-31 13:42:32 +0100
commitc0aece910e9b012a45ef577136a3f986c52df23e (patch)
tree37ac99a37569283185b4a6858cc3be80cc44ad7b /plugins/base/src/main/kotlin/translators/documentables
parentd1b24984fdf6d2f383697b557086c62c94e4eee0 (diff)
downloaddokka-c0aece910e9b012a45ef577136a3f986c52df23e.tar.gz
dokka-c0aece910e9b012a45ef577136a3f986c52df23e.tar.bz2
dokka-c0aece910e9b012a45ef577136a3f986c52df23e.zip
Add constructor keyword (#2691)
Diffstat (limited to 'plugins/base/src/main/kotlin/translators/documentables')
-rw-r--r--plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
index 12fbb33c..ff60170c 100644
--- a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
+++ b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
@@ -377,7 +377,7 @@ open class DefaultPageCreator(
"Constructors",
2,
ContentKind.Constructors,
- constructorsToDocumented.groupBy { it.parameters.map { it.dri } }
+ constructorsToDocumented.groupBy { it.name }
.map { (_, v) -> v.first().name to v },
@Suppress("UNCHECKED_CAST")
(csWithConstructor as List<Documentable>).sourceSets,