[Commonizer] Fix approximation for aliases types
This commit is contained in:
@@ -66,7 +66,7 @@ private fun StringBuilder.buildTypeSignature(type: KotlinType, exploredTypeParam
|
|||||||
val abbreviation = (type as? AbbreviatedType)?.abbreviation ?: type
|
val abbreviation = (type as? AbbreviatedType)?.abbreviation ?: type
|
||||||
append(abbreviation.declarationDescriptor.classId!!.asString())
|
append(abbreviation.declarationDescriptor.classId!!.asString())
|
||||||
|
|
||||||
val arguments = type.arguments
|
val arguments = abbreviation.arguments
|
||||||
if (arguments.isNotEmpty()) {
|
if (arguments.isNotEmpty()) {
|
||||||
append("<")
|
append("<")
|
||||||
arguments.forEachIndexed { index, argument ->
|
arguments.forEachIndexed { index, argument ->
|
||||||
|
|||||||
Reference in New Issue
Block a user