Fix @JvmInline value class tests for JS BE
This commit is contained in:
committed by
TeamCityServer
parent
1da46586bd
commit
5a47eaf215
+2
-1
@@ -6,7 +6,8 @@ import kotlin.reflect.KProperty
|
||||
operator fun <R> KMutableProperty0<R>.setValue(host: Any?, property: KProperty<*>, value: R) = set(value)
|
||||
operator fun <R> KMutableProperty0<R>.getValue(host: Any?, property: KProperty<*>): R = get()
|
||||
|
||||
@JvmInline
|
||||
@Suppress("OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE")
|
||||
@kotlin.jvm.JvmInline
|
||||
value class Foo(val i: Int)
|
||||
|
||||
var f = Foo(4)
|
||||
|
||||
Reference in New Issue
Block a user