mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2025-10-26 09:40:26 +00:00
fix in koin generator
This commit is contained in:
@@ -127,7 +127,7 @@ class Processor(
|
||||
addModifiers(KModifier.INLINE)
|
||||
targetTypeAsGenericType ?.let {
|
||||
addTypeVariable(it)
|
||||
returns(it)
|
||||
returns(it.copy(nullable = nullable))
|
||||
} ?: returns(targetType)
|
||||
addCode(
|
||||
"return " + (if (nullable) {
|
||||
|
||||
Reference in New Issue
Block a user