Retain "is moved from interface companion" property flag in kotlinx-metadata-jvm

#KT-31338 Fixed
This commit is contained in:
Alexander Udalov
2019-05-07 12:32:33 +02:00
parent cfa3509860
commit 2a3786e3f8
11 changed files with 120 additions and 11 deletions

View File

@@ -0,0 +1,11 @@
package test
interface I {
companion object {
@JvmField
val x = "x"
@JvmField
val y = "y"
}
}

View File

@@ -0,0 +1,12 @@
package test
public interface I {
public companion object Companion {
/*primary*/ private constructor Companion()
@field:kotlin.jvm.JvmField public final val x: kotlin.String = "x"
public final fun <get-x>(): kotlin.String
@field:kotlin.jvm.JvmField public final val y: kotlin.String = "y"
public final fun <get-y>(): kotlin.String
}
}