diff --git a/compiler/fir/providers/src/org/jetbrains/kotlin/fir/scopes/impl/FirObjectImportedCallableScope.kt b/compiler/fir/providers/src/org/jetbrains/kotlin/fir/scopes/impl/FirObjectImportedCallableScope.kt index 99919d02fe0..a273a6a9541 100644 --- a/compiler/fir/providers/src/org/jetbrains/kotlin/fir/scopes/impl/FirObjectImportedCallableScope.kt +++ b/compiler/fir/providers/src/org/jetbrains/kotlin/fir/scopes/impl/FirObjectImportedCallableScope.kt @@ -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) } }