Files
kotlin/compiler/testData/codegen/boxWithJava/jvmField/simple/simple.kt
Pavel V. Talanov 6cf9bfdb70 publicField -> JvmField
Effectively drop publicField and introduce JvmField (which has the same effect for now)
Implement frontend checks for @JvmField
Replace publicField -> JvmField in test data
2015-10-13 10:50:08 +03:00

8 lines
126 B
Kotlin
Vendored

class C {
@JvmField private val foo: String = "OK"
}
fun box(): String {
return Test.invokeMethodWithPublicField()
}