[KLIB] Don't have a special mangle for internal declarations
This commit is contained in:
-5
@@ -98,11 +98,6 @@ abstract class DescriptorMangleComputer(protected val builder: StringBuilder, pr
|
||||
|
||||
builder.append(name.asString())
|
||||
|
||||
if (visibility == Visibilities.INTERNAL) {
|
||||
builder.append(MangleConstant.MODULE_SEPARATOR)
|
||||
builder.append(module.name.asString().run { substring(1, lastIndex) })
|
||||
}
|
||||
|
||||
mangleSignature(isCtor, container)
|
||||
}
|
||||
|
||||
|
||||
-10
@@ -96,16 +96,6 @@ abstract class IrMangleComputer(protected val builder: StringBuilder, private va
|
||||
|
||||
builder.append(name.asString())
|
||||
|
||||
if (visibility == Visibilities.INTERNAL) {
|
||||
builder.append(MangleConstant.MODULE_SEPARATOR)
|
||||
val moduleName = try {
|
||||
module.name.asString().run { substring(1, lastIndex) }
|
||||
} catch (e: Throwable) {
|
||||
MangleConstant.UNKNOWN_MARK
|
||||
}
|
||||
builder.append(moduleName)
|
||||
}
|
||||
|
||||
mangleSignature(isCtor, isStatic)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user