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:
@@ -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,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) {
|
||||
|
||||
Reference in New Issue
Block a user