[JS IR] Fix external fields naming
This commit is contained in:
@@ -274,9 +274,9 @@ class NameTables(
|
|||||||
|
|
||||||
if (field.isEffectivelyExternal()) {
|
if (field.isEffectivelyExternal()) {
|
||||||
memberNames.declareStableName(signature, field.name.identifier)
|
memberNames.declareStableName(signature, field.name.identifier)
|
||||||
|
} else {
|
||||||
|
memberNames.declareFreshName(signature, "_" + sanitizeName(field.name.asString()))
|
||||||
}
|
}
|
||||||
|
|
||||||
memberNames.declareFreshName(signature, "_" + sanitizeName(field.name.asString()))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun generateNameForMemberFunction(declaration: IrSimpleFunction) {
|
private fun generateNameForMemberFunction(declaration: IrSimpleFunction) {
|
||||||
|
|||||||
Reference in New Issue
Block a user