aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/links
diff options
context:
space:
mode:
authorSzymon Świstun <sswistun@virtuslab.com>2019-12-17 17:13:25 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-01-08 10:45:08 +0100
commita0a5fc5e362c38ee0592ce5332bbec02131ebbd2 (patch)
treeb4f5ab63d6f32ae318d2badbe9249a93104b2e79 /core/src/main/kotlin/links
parentfc1baea0b6c44ebc84a33918c3dfa13244ebf46f (diff)
downloaddokka-a0a5fc5e362c38ee0592ce5332bbec02131ebbd2.tar.gz
dokka-a0a5fc5e362c38ee0592ce5332bbec02131ebbd2.tar.bz2
dokka-a0a5fc5e362c38ee0592ce5332bbec02131ebbd2.zip
module name fix
Diffstat (limited to 'core/src/main/kotlin/links')
-rw-r--r--core/src/main/kotlin/links/DRI.kt9
1 files changed, 5 insertions, 4 deletions
diff --git a/core/src/main/kotlin/links/DRI.kt b/core/src/main/kotlin/links/DRI.kt
index 0bce22eb..0aeba264 100644
--- a/core/src/main/kotlin/links/DRI.kt
+++ b/core/src/main/kotlin/links/DRI.kt
@@ -94,10 +94,11 @@ data class TypeReference(val classNames: String, val typeBounds: List<TypeRefere
TypeReference("", tp.upperBounds.map { from(it) })
private fun from(t: KotlinType): TypeReference =
- when (val d = t.constructor.declarationDescriptor) {
- is TypeParameterDescriptor -> TypeReference("todo:${d.name}")
- else -> TypeReference(t.constructorName.orEmpty(), t.arguments.map { from(it) })
- }
+ TypeReference(t.constructorName.orEmpty(), t.arguments.map { from(it) })
+// when (val d = t.constructor.declarationDescriptor) {
+// is TypeParameterDescriptor -> TypeReference("todo:${d.name}")
+// else -> TypeReference(t.constructorName.orEmpty(), t.arguments.map { from(it) })
+// }
private fun from(t: TypeProjection): TypeReference =
if (t.isStarProjection) {