Move JVM-specific annotations out of built-ins

Move 'volatile' and 'synchronized' to package 'kotlin' in stdlib. Also delete
'atomic', since its support was never implemented
This commit is contained in:
Alexander Udalov
2014-02-07 19:47:04 +04:00
parent b2d074c5cc
commit b68e47f705
15 changed files with 31 additions and 52 deletions
@@ -1,5 +1,5 @@
public open class TestDelegate<T: Any>(private val initializer: () -> T) {
private volatile var value: T? = null
private var value: T? = null
public open fun get(thisRef: Any?, desc: PropertyMetadata): T {
if (value == null) {
@@ -1,3 +1,3 @@
volatile val foo: Int = 1
// 0 jet/volatile
// 0 kotlin/volatile