[JS IC] fix cross-module nested class references and interface inheritance

^ KT-50528 fixed
This commit is contained in:
Anton Bannykh
2021-12-28 13:44:05 +03:00
committed by teamcity
parent 3fe05233e2
commit 1b631da3a0
7 changed files with 74 additions and 4 deletions
@@ -0,0 +1,15 @@
// NO_COMMON_FILES
// MODULE: lib
// FILE: lib.kt
class A {
class B(val msg: String)
fun foo(b: B) = b.msg
}
// MODULE: main(lib)
// FILE: main.kt
// RECOMPILE
fun box() = A().foo(A.B("OK"))