From 2b2cc07c8910e5df0a730eb271530e2ca5e4f05b Mon Sep 17 00:00:00 2001 From: Mikhail Glukhikh Date: Thu, 27 Oct 2022 13:56:39 +0200 Subject: [PATCH] FirObjectImportedCallableScope: fix wrong variable name --- .../kotlin/fir/scopes/impl/FirObjectImportedCallableScope.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) } }