Fix @JvmInline value class tests for JS BE
This commit is contained in:
committed by
TeamCityServer
parent
1da46586bd
commit
5a47eaf215
+2
-1
@@ -2,7 +2,8 @@
|
||||
|
||||
fun <T> eval(fn: () -> T) = fn()
|
||||
|
||||
@JvmInline
|
||||
@Suppress("OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE")
|
||||
@kotlin.jvm.JvmInline
|
||||
value class R(private val r: Int) {
|
||||
fun test() = eval { "OK" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user