JS: fix inlining of function that calls functions from other modules
This commit is contained in:
+11
@@ -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()
|
||||
Reference in New Issue
Block a user