5ffd6a737e
#KT-22029 Fixed Target versions 1.2.30
9 lines
174 B
Kotlin
Vendored
9 lines
174 B
Kotlin
Vendored
data class Pair(val first: Int, val second: Int)
|
|
|
|
inline fun <T> run(fn: () -> T) = fn()
|
|
|
|
val fstSec = 42
|
|
|
|
val (fst, snd) = run { Pair(fstSec, fstSec) }
|
|
|
|
// expected: fst: 42 |