FIR IDE: fix lazy resolve of type aliases

This commit is contained in:
Ilya Kirillov
2021-04-08 12:57:56 +02:00
parent 0ad64b2113
commit 73c175213c
@@ -218,7 +218,7 @@ internal class FirLazyDeclarationResolver(
.toList()
.asReversed()
.let(::addAll)
if (this@getDesignation is FirCallableDeclaration<*>) {
if (this@getDesignation is FirCallableDeclaration<*> || this@getDesignation is FirTypeAlias) {
add(this@getDesignation)
}
}