[FIR] Deserialize reference to typealias from metadata as fully expanded

#KT-58335 Fixed
This commit is contained in:
Kirill Rakhman
2023-05-08 18:02:09 +02:00
committed by Space Team
parent 17ad4ceec9
commit 80d68fc908
9 changed files with 85 additions and 49 deletions
@@ -200,8 +200,9 @@ class FirTypeDeserializer(
}
else -> ConeClassLikeTypeImpl(constructor, arguments, isNullable = proto.nullable, attributes)
}
val abbreviatedTypeProto = proto.abbreviatedType(typeTable) ?: return simpleType
return simpleType(abbreviatedTypeProto, attributes)
// TODO: Return abbreviated types for type aliases, see KT-58542
return simpleType
}
private fun createSuspendFunctionTypeForBasicCase(