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.
13 lines
382 B
Plaintext
Vendored
13 lines
382 B
Plaintext
Vendored
package test
|
|
|
|
public interface I {
|
|
|
|
public companion object Companion {
|
|
/*primary*/ private constructor Companion()
|
|
@field:kotlin.jvm.JvmField public final val x: kotlin.String
|
|
public final fun <get-x>(): kotlin.String
|
|
@field:kotlin.jvm.JvmField public final val y: kotlin.String
|
|
public final fun <get-y>(): kotlin.String
|
|
}
|
|
}
|