mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
rename platformStatic to jvmStatic
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import kotlin.platform.platformStatic
|
||||
import kotlin.jvm.jvmStatic
|
||||
|
||||
annotation(retention = AnnotationRetention.RUNTIME) class testAnnotation
|
||||
|
||||
@@ -7,14 +7,14 @@ class A {
|
||||
companion object {
|
||||
val b: String = "OK"
|
||||
|
||||
platformStatic testAnnotation fun test1() = b
|
||||
jvmStatic testAnnotation fun test1() = b
|
||||
}
|
||||
}
|
||||
|
||||
object B {
|
||||
val b: String = "OK"
|
||||
|
||||
platformStatic testAnnotation fun test1() = b
|
||||
jvmStatic testAnnotation fun test1() = b
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
|
||||
Reference in New Issue
Block a user