[KLIB] Fix references to private top-level typealias via type abbreviation

This commit is contained in:
Roman Artemev
2019-09-10 19:34:57 +03:00
committed by romanart
parent 40ebe4063c
commit e5a1040dbd
7 changed files with 51 additions and 0 deletions
@@ -0,0 +1,22 @@
// MODULE: lib
// FILE: f1.kt
private typealias TA = String
public interface I {
public fun foo(): TA
}
open public class B: I {
override fun foo() = "OK"
}
// FILE: f2.kt
public class D: B()
// MODULE: main(lib)
// FILE: m.kt
fun box() = D().foo()