[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
@@ -58,6 +58,10 @@ abstract class KotlinManglerImpl : KotlinMangler {
if (declaration.isPlatformSpecificExported()) return true
if (declaration is IrTypeAlias && declaration.parent is IrPackageFragment) {
return true
}
if (descriptorAnnotations.hasAnnotation(publishedApiAnnotation)) {
return true
}