A test for IrVarargElement and IrSpreadElement serializations.
This commit is contained in:
committed by
alexander-gorshenev
parent
7d2b794401
commit
baaee2b816
@@ -0,0 +1,9 @@
|
||||
fun bar(vararg x: Int) {
|
||||
x.forEach {
|
||||
println(it)
|
||||
}
|
||||
println("size: ${x.size}")
|
||||
}
|
||||
|
||||
inline fun foo() = bar(17, 19, 23, *intArrayOf(29, 31))
|
||||
|
||||
Reference in New Issue
Block a user