Remove crossinline restriction from synchronized in js and common
#KT-20596 Fixed
This commit is contained in:
@@ -95,7 +95,7 @@ expect fun Float.isFinite(): Boolean
|
||||
@Target(PROPERTY, FIELD)
|
||||
expect annotation class Volatile
|
||||
|
||||
inline expect fun <R> synchronized(lock: Any, crossinline block: () -> R): R
|
||||
public expect inline fun <R> synchronized(lock: Any, block: () -> R): R
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user