autoClosed not inline anymore
This commit is contained in:
parent
4b799c0ecf
commit
e578517821
@ -10,7 +10,7 @@ import ru.landgrafhomyak.utility.highlevel_try_finally.safeAutoClose2
|
|||||||
|
|
||||||
@OptIn(ManualStateManipulation::class)
|
@OptIn(ManualStateManipulation::class)
|
||||||
@JvmName("autoClosed\$kt")
|
@JvmName("autoClosed\$kt")
|
||||||
public inline fun <S : CloseableState, R> autoClosed(
|
public fun <S : CloseableState, R> autoClosed(
|
||||||
constructor: () -> S,
|
constructor: () -> S,
|
||||||
scope: (S) -> R,
|
scope: (S) -> R,
|
||||||
): R {
|
): R {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user