Fix @JvmInline value class tests for JS BE
This commit is contained in:
committed by
TeamCityServer
parent
1da46586bd
commit
5a47eaf215
+2
-1
@@ -3,7 +3,8 @@
|
||||
fun box() = A(0).f()
|
||||
|
||||
// FILE: b.kt
|
||||
@JvmInline
|
||||
@Suppress("OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE")
|
||||
@kotlin.jvm.JvmInline
|
||||
value class A(val i: Int)
|
||||
|
||||
fun A.f(xs: Array<String> = Array<String>(1) { "OK" }) = xs[i]
|
||||
|
||||
Reference in New Issue
Block a user