FirObjectImportedCallableScope: fix wrong variable name
This commit is contained in:
committed by
Space Team
parent
d16a4ae647
commit
2b2cc07c89
+2
-2
@@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user