JVM: remove support for disabling NoConstantValueAttributeForNonConstVals

This feature is enabled by default since 1.4, which is the earliest
language version supported by Kotlin at this moment.
This commit is contained in:
Alexander Udalov
2021-09-10 02:01:10 +02:00
parent d07070e184
commit e857966edb
22 changed files with 20 additions and 202 deletions
@@ -1,25 +0,0 @@
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
}
}