mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 08:31:31 +00:00
rename platformStatic to jvmStatic
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import kotlin.platform.platformStatic
|
||||
import kotlin.jvm.jvmStatic
|
||||
|
||||
enum class A {
|
||||
;
|
||||
companion object {
|
||||
val foo: String = "OK"
|
||||
|
||||
platformStatic val bar: String = "OK"
|
||||
jvmStatic val bar: String = "OK"
|
||||
|
||||
platformStatic fun baz() = foo
|
||||
jvmStatic fun baz() = foo
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user