Files
kotlin-fork/compiler/testData/loadJava/compiledKotlinWithStdlib/annotations/JvmFieldInInterfaceCompanion.txt
T
Alexander Udalov 3c4e5d7615 Fix JvmFieldInInterfaceCompanion.kt for language version 1.4
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.
2020-01-17 20:35:46 +01:00

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
}
}