[JS IR BE] Fix private field names

This commit is contained in:
Roman Artemev
2018-10-29 18:45:06 +03:00
committed by romanart
parent bf42bd1226
commit fb709cae92
6 changed files with 1 additions and 5 deletions
@@ -135,6 +135,7 @@ class SimpleNameGenerator : NameGenerator {
} else {
nameBuilder.append('.')
nameBuilder.append(getNameForDeclaration(declaration.parent as IrDeclaration, context))
if (declaration.visibility == Visibilities.PRIVATE) nameDeclarator = context.currentScope::declareFreshName
}
}
is IrClass -> {