alignModuleName
private fun alignModuleName(current: String?, fns: List<KmFunction>, props: List<KmProperty>, set: (String) -> Unit): Boolean
Realign moduleName with the $suffix this declaration's own internal members actually carry.
A call to an internal member is mangled name$sanitize(moduleName), and the compiler reads moduleName from the metadata proto — so a jar whose published member names were renamed without updating that field links against a method that does not exist, and it fails at the call site rather than at compile time. The JvmMethodSignature is renamed correctly, which makes it the reference. Aligned jars stop at the comparison; as of 2.4.10 only kotlin-metadata-jvm needs the rewrite.