Does IrFunction have a stable unique-identifier that survives compilation (ie that would be the same whether the parent is a IrFile or an IrExternalPackageFragment)?
y
Youssef Shoaib [MOD]
09/03/2025, 6:41 PM
I think, but I might be wrong, that the signature + FqName should serve as that.
a
Alexander Ioffe
09/03/2025, 6:44 PM
You mean IdSingature? That comes up as null all the time
z
Zac Sweers
09/03/2025, 8:14 PM
signature isn't available unless it's public
Zac Sweers
09/03/2025, 8:14 PM
I recommend making your own hash based on what you need from it