fixup! [IR] Add the description field to CommonIdSignature

This commit is contained in:
Sergej Jaskiewicz
2023-06-19 18:21:47 +02:00
committed by teamcity
parent e0b8cf827a
commit 487847bedc
@@ -39,13 +39,14 @@ class IdSignatureDeserializer(
val pkg = internationService.string(libraryFile.deserializeFqName(proto.packageFqNameList)) val pkg = internationService.string(libraryFile.deserializeFqName(proto.packageFqNameList))
val cls = internationService.string(libraryFile.deserializeFqName(proto.declarationFqNameList)) val cls = internationService.string(libraryFile.deserializeFqName(proto.declarationFqNameList))
val memberId = if (proto.hasMemberUniqId()) proto.memberUniqId else null val memberId = if (proto.hasMemberUniqId()) proto.memberUniqId else null
val description = if (proto.hasDebugInfo()) libraryFile.debugInfo(proto.debugInfo)?.let(internationService::string) else null
return IdSignature.CommonSignature( return IdSignature.CommonSignature(
packageFqName = pkg, packageFqName = pkg,
declarationFqName = cls, declarationFqName = cls,
id = memberId, id = memberId,
mask = proto.flags, mask = proto.flags,
description = null, // TODO(KT-59486): Deserialize mangled name and save it here description = description,
) )
} }