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

Commit 99b2f69

Browse files
committed
テストのためinternal化
1 parent 35662ac commit 99b2f69

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ sealed class FastKFunction<T> {
139139
throw IllegalArgumentException("This function is require multiple instances.")
140140
}
141141

142-
private fun <T> topLevelFunctionOf(
142+
@TestOnly
143+
internal fun <T> topLevelFunctionOf(
143144
function: KFunction<T>,
144145
instance: Any?,
145146
parameters: List<KParameter>,

0 commit comments

Comments
 (0)