[IR] Fix IR expect-actual annotations checker in case when annotation is actual typealias

^KT-60830 Fixed
This commit is contained in:
Roman Efremov
2023-08-01 10:04:57 +02:00
committed by Space Team
parent 5ed3f308fa
commit 31f21d8593
5 changed files with 43 additions and 3 deletions
@@ -0,0 +1,21 @@
// FIR_IDENTICAL
// MODULE: m1-common
// FILE: common.kt
expect annotation class Ann()
@Ann
expect class MatchUseSameName
@Ann
expect class MatchUseTypealiasedName
// MODULE: m1-jvm()()(m1-common)
// FILE: jvm.kt
annotation class AnnImpl
actual typealias Ann = AnnImpl
@Ann
actual class MatchUseSameName
@AnnImpl
actual class MatchUseTypealiasedName