[IR] Add the description field to CommonIdSignature
This field shall be used for storing a human-readable representation of the declaration, that would be a mangled name for now. This field is not yet serialized. Serialization will be implemented in follow-up commits. See KT-59486
This commit is contained in:
committed by
teamcity
parent
668684ca13
commit
3a30d74096
+7
-1
@@ -88,7 +88,13 @@ internal class IdSignatureSerialization(private val library: KotlinLibraryHeader
|
||||
null
|
||||
}
|
||||
val mask = input.readInt64()
|
||||
return IdSignature.CommonSignature(packageFqName, declarationFqName, id, mask)
|
||||
return IdSignature.CommonSignature(
|
||||
packageFqName = packageFqName,
|
||||
declarationFqName = declarationFqName,
|
||||
id = id,
|
||||
mask = mask,
|
||||
description = null, // TODO(KT-59486): Deserialize mangled name and save it here
|
||||
)
|
||||
}
|
||||
IdSignatureProtoType.COMPOSITE_SIGNATURE.id -> {
|
||||
val containerSignature = deserializeIdSignature(input)
|
||||
|
||||
Reference in New Issue
Block a user