Deprecate JVM platform annotations in favor of capitilized themselves

This commit is contained in:
Denis Zharkov
2015-09-04 14:46:46 +03:00
parent 5471a1d18a
commit 952d45dc8b
107 changed files with 290 additions and 266 deletions

View File

@@ -1,17 +1,17 @@
import kotlin.jvm.jvmStatic
import kotlin.jvm.JvmStatic
class A {
companion object {
val b: String = "OK"
jvmStatic val c: String = "OK"
JvmStatic val c: String = "OK"
jvmStatic fun test1() = b
JvmStatic fun test1() = b
jvmStatic fun test2() = b
JvmStatic fun test2() = b
jvmStatic fun String.test3() = this + b
JvmStatic fun String.test3() = this + b
}
}