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
@@ -4,7 +4,8 @@ var setterInvoked = 0
var backing = 42
@JvmInline
@Suppress("OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE")
@kotlin.jvm.JvmInline
value class DelegateStr(val ignored: String) {
operator fun getValue(thisRef: Any?, prop: Any?) =
@@ -16,7 +17,8 @@ value class DelegateStr(val ignored: String) {
}
}
@JvmInline
@Suppress("OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE")
@kotlin.jvm.JvmInline
value class DelegateInt(val ignored: Int) {
operator fun getValue(thisRef: Any?, prop: Any?) =
@@ -28,7 +30,8 @@ value class DelegateInt(val ignored: Int) {
}
}
@JvmInline
@Suppress("OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE")
@kotlin.jvm.JvmInline
value class DelegateLong(val ignored: Long) {
operator fun getValue(thisRef: Any?, prop: Any?) =