Remove deprecated Common synchronized and deprecate it in JS #KT-46101

This commit is contained in:
Abduqodiri Qurbonzoda
2021-09-13 17:20:46 +03:00
parent 7e1cd757fb
commit 3ddc29363a
6 changed files with 9 additions and 14 deletions
@@ -87,9 +87,6 @@ public actual fun Float.Companion.fromBits(bits: Int): Float = wasm_f32_reinterp
//@Deprecated("Use Volatile annotation from kotlin.jvm package", ReplaceWith("kotlin.jvm.Volatile"), level = DeprecationLevel.WARNING)
//public typealias Volatile = kotlin.jvm.Volatile
@Deprecated("Synchronization on any object is not supported on every platform and will be removed from the common standard library soon.")
public actual inline fun <R> synchronized(lock: Any, block: () -> R): R = TODO("Wasm stdlib: Kotlin")