From 631934363a02e06b5f7dcb7a8141223c6363f2bb Mon Sep 17 00:00:00 2001 From: bomberaya Date: Wed, 9 Nov 2022 15:09:48 +0100 Subject: Fix missing package name in Javadoc format (#2734) --- .../javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/pages/utils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/javadoc/src/main/kotlin/org/jetbrains') diff --git a/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/pages/utils.kt b/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/pages/utils.kt index 2b3005ab..de6193a7 100644 --- a/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/pages/utils.kt +++ b/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/pages/utils.kt @@ -5,7 +5,7 @@ import org.jetbrains.dokka.model.* internal fun JavadocFunctionNode.getAnchor(): String = "$name(${parameters.joinToString(",") { when (val bound = if (it.typeBound is Nullable) it.typeBound.inner else it.typeBound) { - is TypeConstructor -> bound.dri.classNames.orEmpty() + is TypeConstructor -> listOf(bound.dri.packageName, bound.dri.classNames).joinToString(".") is TypeParameter -> bound.name is PrimitiveJavaType -> bound.name is UnresolvedBound -> bound.name -- cgit