3c4e5d7615
Since 1.4, constant value is no longer written to the class file (and thus cannot be read) for non-const properties. But in sources, corresponding property descriptors still have the initializer which is rendered to text. Therefore we disable the source-vs-binary check and update the test data to check the new behavior.
14 lines
166 B
Kotlin
Vendored
14 lines
166 B
Kotlin
Vendored
// NO_CHECK_SOURCE_VS_BINARY
|
|
|
|
package test
|
|
|
|
interface I {
|
|
companion object {
|
|
@JvmField
|
|
val x = "x"
|
|
|
|
@JvmField
|
|
val y = "y"
|
|
}
|
|
}
|