JS: prohibit inline external declarations. See KT-15307

This commit is contained in:
Alexey Andreev
2016-12-19 14:06:14 +03:00
parent 84f094c770
commit 403753f5b5
7 changed files with 49 additions and 1 deletions
+1 -1
View File
@@ -35,4 +35,4 @@ public annotation class Volatile
@Retention(AnnotationRetention.SOURCE)
public annotation class Synchronized
public external inline fun <R> synchronized(lock: Any, crossinline block: () -> R): R = block()
public inline fun <R> synchronized(lock: Any, crossinline block: () -> R): R = block()