mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 00:21:35 +00:00
Deprecate JVM platform annotations in favor of capitilized themselves
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import kotlin.jvm.jvmStatic
|
||||
import kotlin.jvm.JvmStatic
|
||||
|
||||
enum class A {
|
||||
;
|
||||
companion object {
|
||||
val foo: String = "OK"
|
||||
|
||||
jvmStatic val bar: String = "OK"
|
||||
JvmStatic val bar: String = "OK"
|
||||
|
||||
jvmStatic fun baz() = foo
|
||||
JvmStatic fun baz() = foo
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user