IR: fix mangling of toplevel properties
This commit is contained in:
committed by
TeamCityServer
parent
54957ead5c
commit
fb801bdc33
+3
-1
@@ -232,7 +232,9 @@ abstract class IrMangleComputer(protected val builder: StringBuilder, private va
|
||||
declaration.parent.acceptVoid(this)
|
||||
|
||||
val isStaticProperty = if (accessor != null)
|
||||
accessor.let { it.dispatchReceiverParameter == null && declaration.parent !is IrPackageFragment }
|
||||
accessor.let {
|
||||
it.dispatchReceiverParameter == null && declaration.parent !is IrPackageFragment && !declaration.parent.isFacadeClass
|
||||
}
|
||||
else {
|
||||
// Fake override for a Java field
|
||||
val backingField = declaration.resolveFakeOverride()?.backingField
|
||||
|
||||
Reference in New Issue
Block a user