[FIR] Expand typealiases before checking type of class literal

This commit is contained in:
Dmitriy Novozhilov
2023-06-08 13:53:33 +03:00
committed by Space Team
parent 6c7eb0167c
commit 0f0f0d604f
2 changed files with 9 additions and 6 deletions
@@ -26,7 +26,7 @@ fun test() {
Some::class
SomeAlias::class
<!CLASS_LITERAL_LHS_NOT_A_CLASS!>SomeAlias<String>::class<!>
SomeAlias<String>::class
MyPair::class
<!CLASS_LITERAL_LHS_NOT_A_CLASS!>MyPair<Int, Int>::class<!>
@@ -50,12 +50,12 @@ fun test() {
<!CLASS_LITERAL_LHS_NOT_A_CLASS!>Array<*>::class<!>
SimpleArrayAlias::class
<!CLASS_LITERAL_LHS_NOT_A_CLASS!>SimpleArrayAlias<Int>::class<!>
SimpleArrayAlias<Int>::class
<!CLASS_LITERAL_LHS_NOT_A_CLASS!>SimpleArrayAlias<*>::class<!>
SpecificArrayAlias::class
UnusedArrayAlias::class
<!CLASS_LITERAL_LHS_NOT_A_CLASS!>UnusedArrayAlias<Int>::class<!>
<!CLASS_LITERAL_LHS_NOT_A_CLASS!>UnusedArrayAlias<*>::class<!>
UnusedArrayAlias<Int>::class
UnusedArrayAlias<*>::class
}