diff options
author | Szymon Świstun <sswistun@virtuslab.com> | 2019-12-16 15:28:20 +0100 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-01-08 10:45:08 +0100 |
commit | f57e3081052d6d148b4f8af70f838ba13ae96b29 (patch) | |
tree | 71fcdaa62d409fe8864709da4fdcc71163f3eac5 | |
parent | 58c65c0de698ef1d296f58ea64ea242e19892143 (diff) | |
download | dokka-f57e3081052d6d148b4f8af70f838ba13ae96b29.tar.gz dokka-f57e3081052d6d148b4f8af70f838ba13ae96b29.tar.bz2 dokka-f57e3081052d6d148b4f8af70f838ba13ae96b29.zip |
DRI infinite recursion plug
-rw-r--r-- | core/src/main/kotlin/links/DRI.kt | 2 |
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) }) } |