Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit db8454a

Browse files
committed
不要な処理をしていたため修正
1 parent 850f576 commit db8454a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/kotlin/com/wrongwrong/mapk/core/ParameterForMap.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ private fun <T> Collection<KFunction<T>>.getConverterMapFromFunctions(): Set<Pai
4545
.map { func ->
4646
func.isAccessible = true
4747

48-
(func.parameters.single { param -> param.kind == KParameter.Kind.VALUE }.type.classifier as KClass<*>) to
49-
func
48+
(func.parameters.single().type.classifier as KClass<*>) to func
5049
}.toSet()
5150
}
5251

0 commit comments

Comments
 (0)