JS: fix inlining of function that calls functions from other modules

This commit is contained in:
Alexey Andreev
2017-07-12 13:15:04 +03:00
parent 6bb5d00700
commit 901346243d
10 changed files with 480 additions and 270 deletions
@@ -0,0 +1,11 @@
// MODULE: lib
// FILE: lib.kt
fun foo() = "OK"
// MODULE: main(lib)
// FILE: main1.kt
inline fun bar() = foo()
// FILE: main2.kt
// RECOMPILE
fun box() = bar()