From d1c0de394d1117e8bbc3fcd07ff73e548059d5e6 Mon Sep 17 00:00:00 2001 From: manu Date: Mon, 26 Feb 2024 00:03:09 +0100 Subject: [PATCH] ... --- .../com/ivianuu/injekt/compiler/resolution/InjektType.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/compiler/src/main/kotlin/com/ivianuu/injekt/compiler/resolution/InjektType.kt b/compiler/src/main/kotlin/com/ivianuu/injekt/compiler/resolution/InjektType.kt index b93c2654a..b2a09d76d 100644 --- a/compiler/src/main/kotlin/com/ivianuu/injekt/compiler/resolution/InjektType.kt +++ b/compiler/src/main/kotlin/com/ivianuu/injekt/compiler/resolution/InjektType.kt @@ -116,9 +116,6 @@ fun ConeKotlinType.toInjektType( classifier = classifier, isMarkedNullable = unwrapped.isMarkedNullable, arguments = unwrapped.typeArguments - // we use take here because an inner class also contains the type parameters - // of it's parent class which is irrelevant for us - //.take(classifier.typeParameters.size) // todo .map { it.toInjektType(ctx) } .let { if (classifier.isTag && it.size != classifier.typeParameters.size)