aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin
diff options
context:
space:
mode:
authorSzymon Świstun <sswistun@virtuslab.com>2019-12-16 15:28:20 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-01-08 10:45:08 +0100
commitf57e3081052d6d148b4f8af70f838ba13ae96b29 (patch)
tree71fcdaa62d409fe8864709da4fdcc71163f3eac5 /core/src/main/kotlin
parent58c65c0de698ef1d296f58ea64ea242e19892143 (diff)
downloaddokka-f57e3081052d6d148b4f8af70f838ba13ae96b29.tar.gz
dokka-f57e3081052d6d148b4f8af70f838ba13ae96b29.tar.bz2
dokka-f57e3081052d6d148b4f8af70f838ba13ae96b29.zip
DRI infinite recursion plug
Diffstat (limited to 'core/src/main/kotlin')
-rw-r--r--core/src/main/kotlin/links/DRI.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/links/DRI.kt b/core/src/main/kotlin/links/DRI.kt
index b6270467..0bce22eb 100644
--- a/core/src/main/kotlin/links/DRI.kt
+++ b/core/src/main/kotlin/links/DRI.kt
@@ -95,7 +95,7 @@ data class TypeReference(val classNames: String, val typeBounds: List<TypeRefere
private fun from(t: KotlinType): TypeReference =
when (val d = t.constructor.declarationDescriptor) {
- is TypeParameterDescriptor -> from(d)
+ is TypeParameterDescriptor -> TypeReference("todo:${d.name}")
else -> TypeReference(t.constructorName.orEmpty(), t.arguments.map { from(it) })
}