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

Commit e7f105c

Browse files
committed
共通化
1 parent 9f43739 commit e7f105c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/com/mapk/core/KFunctionForCall.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,12 @@ private fun KParameter.toArgumentBinder(parameterNameConverter: ParameterNameCon
123123
parameterNameConverter.toSimple()
124124
}
125125

126-
ArgumentBinder.Function((type.classifier as KClass<*>).toKConstructor(converter), index, annotations)
126+
ArgumentBinder.Function(getKClass().toKConstructor(converter), index, annotations)
127127
} ?: ArgumentBinder.Value(
128128
index,
129129
annotations,
130130
isOptional,
131131
parameterNameConverter.convert(name),
132-
type.classifier as KClass<*>
132+
getKClass()
133133
)
134134
}

0 commit comments

Comments
 (0)