[Commonizer] Fix CirConversions and substitute arguments

CirConversions did not cover some potential convertible types.
ClassOrTypeAliasTypeCommonizer did not apply type substitution
for parameterized types coming from a dependency

^KT-48288
This commit is contained in:
sebastian.sellmair
2021-09-13 14:06:20 +02:00
committed by Space
parent e2343094ec
commit 4349f98954
6 changed files with 41 additions and 20 deletions
@@ -7,8 +7,8 @@ typealias C3 = C2 // TA lifted up as is
typealias D = A // class/TA expanded to the same class at the RHS
typealias D2 = A // class/TA expanded to the same class at the RHS
typealias E = A // different TAs use common type from TA-chain
typealias E2 = A // different TAs use common type from TA-chain
typealias E = B // different TAs use common type from TA-chain
typealias E2 = B // different TAs use common type from TA-chain
typealias F = List<String> // parameterized type at the RHS
typealias H<T> = List<T> // TA with own parameters