16 lines
274 B
Kotlin
Vendored
16 lines
274 B
Kotlin
Vendored
// KJS_WITH_FULL_RUNTIME
|
|
// EXPECTED_REACHABLE_NODES: 1529
|
|
|
|
// TODO remove stdlib dependency
|
|
|
|
class A(val list: List<String>) {
|
|
init {
|
|
run {
|
|
list.map { it }
|
|
}
|
|
}
|
|
|
|
fun foo() = list.map { it }
|
|
}
|
|
|
|
fun box() = A(listOf("OK")).foo().first() |