fix compilation and testData after rebase

^KT-54417
This commit is contained in:
Dmitrii Gridin
2022-11-14 12:16:29 +01:00
committed by Space Team
parent d0a420fad9
commit 032026278c
62 changed files with 554 additions and 386 deletions
@@ -219,7 +219,7 @@ fun deserializeClassToSymbol(
valueClassRepresentation =
classProto.loadValueClassRepresentation(context.nameResolver, context.typeTable, context.typeDeserializer::simpleType) { name ->
val member = declarations.singleOrNull { it is FirProperty && it.receiverTypeRef == null && it.name == name }
val member = declarations.singleOrNull { it is FirProperty && it.receiverParameter == null && it.name == name }
(member as FirProperty?)?.returnTypeRef?.coneTypeSafe()
} ?: computeValueClassRepresentation(this, session)