aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/links/DRI.kt
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/main/kotlin/links/DRI.kt')
-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) {