Fix @JvmInline value class tests for JS BE

This commit is contained in:
Ilmir Usmanov
2021-10-11 08:37:11 +02:00
committed by TeamCityServer
parent 1da46586bd
commit 5a47eaf215
381 changed files with 1168 additions and 584 deletions
@@ -1,21 +1,25 @@
// WITH_RUNTIME
@JvmInline
@Suppress("OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE")
@kotlin.jvm.JvmInline
value class IcInt(val i: Int) {
fun simple(): String = i.toString()
}
@JvmInline
@Suppress("OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE")
@kotlin.jvm.JvmInline
value class IcLong(val l: Long) {
fun simple(): String = l.toString()
}
@JvmInline
@Suppress("OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE")
@kotlin.jvm.JvmInline
value class IcAny(val a: Any?) {
fun simple(): String = a?.toString() ?: "null"
}
@JvmInline
@Suppress("OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE")
@kotlin.jvm.JvmInline
value class IcOverIc(val o: IcLong) {
fun simple(): String = o.toString()
}