Remove crossinline restriction from synchronized in js and common
#KT-20596 Fixed
This commit is contained in:
@@ -36,4 +36,4 @@ public annotation class Volatile
|
||||
public annotation class Synchronized
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun <R> synchronized(@Suppress("UNUSED_PARAMETER") lock: Any, crossinline block: () -> R): R = block()
|
||||
public inline fun <R> synchronized(@Suppress("UNUSED_PARAMETER") lock: Any, block: () -> R): R = block()
|
||||
|
||||
Reference in New Issue
Block a user