Volatile is no more allowed on values #KT-7670 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import kotlin.jvm.Volatile
|
||||
|
||||
class My {
|
||||
<!VOLATILE_ON_VALUE!>@Volatile<!> val x = 0
|
||||
// ok
|
||||
@Volatile var y = 1
|
||||
}
|
||||
Reference in New Issue
Block a user