JS: fix inlining of functions derived from other modules

See KT-16408
This commit is contained in:
Alexey Andreev
2017-09-05 15:13:50 +03:00
parent 361d6dfca0
commit 5bf4540458
4 changed files with 24 additions and 5 deletions
@@ -0,0 +1,15 @@
// EXPECTED_REACHABLE_NODES: 996
// MODULE: lib
// FILE: lib1.kt
open class Parent {
inline fun b() = c()
}
// FILE: lib2.kt
fun c() = "OK"
// MODULE: main(lib)
// FILE: main.kt
class Child : Parent()
fun box() = Child().b()