JS: fix complex nested cross-module inlining (KT-26117 fixed)
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
// EXPECTED_REACHABLE_NODES: 1529
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
|
||||
// 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()
|
||||
Reference in New Issue
Block a user