Raise deprecation of js synchronized {} to error
This commit is contained in:
committed by
Space Team
parent
2248f4ea33
commit
f260b55810
@@ -12,5 +12,6 @@ fun box(): String {
|
||||
class A {
|
||||
companion object;
|
||||
operator fun String.invoke() = Unit
|
||||
@Suppress("DEPRECATION_ERROR")
|
||||
fun close() = synchronized(this) { "abc" }()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user