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

Commit 98f30d2

Browse files
committed
デフォルトnullに修正
1 parent 7ae648b commit 98f30d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/mapk/fastkfunction/FastKFunction.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import kotlin.reflect.jvm.isAccessible
1212
import kotlin.reflect.jvm.javaConstructor
1313
import kotlin.reflect.jvm.javaMethod
1414

15-
class FastKFunction<T>(private val function: KFunction<T>, instance: Any?) {
15+
class FastKFunction<T>(private val function: KFunction<T>, instance: Any? = null) {
1616
val valueParameters: List<KParameter> // 公開するのはバインドに使うパラメータのみ
1717
private val fullInitializedFunction: (Array<out Any?>) -> T
1818
private val bucketGenerator: BucketGenerator

0 commit comments

Comments
 (0)