fix of kspCommonMainKotlinMetadata call

This commit is contained in:
InsanusMokrassar committed 2025-07-11 16:39:08 +06:00
1 parent 57f009e8aa
commit fa45e7b696
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -238,7 +238,7 @@ class Processor(
""".trimIndent()
)
ksFile.getAnnotationsByType(GenerateKoinDefinition::class).forEach {
val type = it.type.safeClassName()
val type = safeClassName { it.type }
val targetType = runCatching {
type.parameterizedBy(*(it.typeArgs.takeIf { it.isNotEmpty() } ?.map { it.asTypeName() } ?.toTypedArray() ?: return@runCatching type))
}.getOrElse { e ->