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

Commit f4d3a6a

Browse files
committed
微修正
1 parent 142c147 commit f4d3a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/mapk/core/internal/FullInitializedFunctionWrapper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ internal class FullInitializedFunctionWrapper<T>(function: KFunction<T>, instanc
1717
instance != null -> {
1818
val method = function.javaMethod!!
1919

20-
@Suppress("UNCHECKED_CAST") { method.invoke(it[0], *(it.copyOfRange(1, paramSize))) as T }
20+
@Suppress("UNCHECKED_CAST") { method.invoke(instance, *(it.copyOfRange(1, paramSize))) as T }
2121
}
2222
else -> {
2323
{ function.call(*it) }

0 commit comments

Comments
 (0)