[stdlib] Explicit visibility and return types: JS

Stepping test line number changes are due to changes in coroutineInternalJS.kt
This commit is contained in:
Ilya Gorbunov
2023-09-19 14:54:59 +02:00
committed by Space Team
parent 0c61ce61c3
commit 381a8fd55f
14 changed files with 33 additions and 32 deletions
@@ -35,7 +35,7 @@ public actual inline fun <T : AutoCloseable?, R> T.use(block: (T) -> R): R {
@ExperimentalStdlibApi
@SinceKotlin("1.8")
@PublishedApi
internal fun AutoCloseable?.closeFinally(cause: Throwable?) = when {
internal fun AutoCloseable?.closeFinally(cause: Throwable?): Unit = when {
this == null -> {}
cause == null -> close()
else ->