deviant
03/12/2021, 2:20 PMBen Woodworth
03/12/2021, 3:39 PMval a = intArrayOf(1, 2)
val b = intArrayOf(3, 4)
val c = intArrayOf(*a, *b) // intArrayOf(1, 2, 3, 4)
And there's a proposal/discussion about collection literals here:
https://github.com/Kotlin/KEEP/pull/112Ilmir Usmanov [JB]
03/12/2021, 4:24 PM