Fix @JvmInline value class tests for JS BE
This commit is contained in:
committed by
TeamCityServer
parent
1da46586bd
commit
5a47eaf215
@@ -8,7 +8,8 @@ class Foo {
|
||||
val b by Delegate(0)
|
||||
}
|
||||
|
||||
@JvmInline
|
||||
@Suppress("OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE")
|
||||
@kotlin.jvm.JvmInline
|
||||
value class Delegate(val ignored: Int): ReadOnlyProperty<Foo, Int> {
|
||||
override fun getValue(thisRef: Foo, property: KProperty<*>): Int {
|
||||
return thisRef.a
|
||||
|
||||
Reference in New Issue
Block a user