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 return@wrapper
} }
val property = symbol.fir val property = symbol.fir
val syntheticFunction = buildPropertyCopy(property) { val syntheticProperty = buildPropertyCopy(property) {
origin = FirDeclarationOrigin.ImportedFromObject origin = FirDeclarationOrigin.ImportedFromObject
this.symbol = FirPropertySymbol(CallableId(importedClassId, name)) this.symbol = FirPropertySymbol(CallableId(importedClassId, name))
this.delegateFieldSymbol = null this.delegateFieldSymbol = null
}.apply { }.apply {
importedFromObjectData = ImportedFromObjectData(importedClassId, property) importedFromObjectData = ImportedFromObjectData(importedClassId, property)
} }
processor(syntheticFunction.symbol) processor(syntheticProperty.symbol)
} }
} }