rename platformStatic to jvmStatic

This commit is contained in:
Dmitry Jemerov
2015-08-21 12:57:54 +02:00
parent 4053c19260
commit 341f09afd3
51 changed files with 145 additions and 181 deletions

View File

@@ -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 {