FirObjectImportedCallableScope: fix wrong variable name

This commit is contained in:
Mikhail Glukhikh
2022-10-27 13:56:39 +02:00
committed by Space Team
parent d16a4ae647
commit 2b2cc07c89
@@ -44,14 +44,14 @@ class FirObjectImportedCallableScope(
return@wrapper
}
val property = symbol.fir
val syntheticFunction = buildPropertyCopy(property) {
val syntheticProperty = buildPropertyCopy(property) {
origin = FirDeclarationOrigin.ImportedFromObject
this.symbol = FirPropertySymbol(CallableId(importedClassId, name))
this.delegateFieldSymbol = null
}.apply {
importedFromObjectData = ImportedFromObjectData(importedClassId, property)
}
processor(syntheticFunction.symbol)
processor(syntheticProperty.symbol)
}
}