92c80873ba
This is a partial revert of e857966edb.
Specifically, behavior is restored in the old backend, which will allow
to support language version 1.3, where this language feature was not
enabled yet. There are no changes in the JVM IR backend, because to
enable JVM IR with LV 1.3, you need to pass the compiler argument
`-Xuse-ir` which is not stable and we don't guarantee anything about it.
#KT-50251
26 lines
729 B
Plaintext
Vendored
26 lines
729 B
Plaintext
Vendored
package test
|
|
|
|
public val nonConstVal1: kotlin.Int = 1
|
|
public fun <get-nonConstVal1>(): kotlin.Int
|
|
|
|
public final class C {
|
|
/*primary*/ public constructor C()
|
|
public final val nonConstVal2: kotlin.Int = 2
|
|
public final fun <get-nonConstVal2>(): kotlin.Int
|
|
|
|
public companion object Companion {
|
|
/*primary*/ private constructor Companion()
|
|
public final val nonConstVal3: kotlin.Int = 3
|
|
public final fun <get-nonConstVal3>(): kotlin.Int
|
|
}
|
|
}
|
|
|
|
public interface I {
|
|
|
|
public companion object Companion {
|
|
/*primary*/ private constructor Companion()
|
|
public final val nonConstVal4: kotlin.Int = 4
|
|
public final fun <get-nonConstVal4>(): kotlin.Int
|
|
}
|
|
}
|