Fir2IrLazyProperty: drop unnecessary accessor rebinding attempts
This commit is contained in:
committed by
Space Team
parent
890e3d1c10
commit
a1f051acf1
@@ -162,7 +162,6 @@ class Fir2IrLazyProperty(
|
||||
containingClass?.symbol?.toLookupTag(),
|
||||
forceTopLevelPrivate = symbol.signature.isComposite()
|
||||
)!!
|
||||
symbolTable.referenceSimpleFunctionIfAny(signature)?.let { if (it.isBound) return@lazyVar it.owner }
|
||||
symbolTable.declareSimpleFunction(signature, symbolFactory = { Fir2IrSimpleFunctionSymbol(signature) }) { symbol ->
|
||||
Fir2IrLazyPropertyAccessor(
|
||||
components, startOffset, endOffset,
|
||||
@@ -197,7 +196,6 @@ class Fir2IrLazyProperty(
|
||||
containingClass?.symbol?.toLookupTag(),
|
||||
forceTopLevelPrivate = symbol.signature.isComposite()
|
||||
)!!
|
||||
symbolTable.referenceSimpleFunctionIfAny(signature)?.let { if (it.isBound) return@lazyVar it.owner }
|
||||
symbolTable.declareSimpleFunction(signature, symbolFactory = { Fir2IrSimpleFunctionSymbol(signature) }) { symbol ->
|
||||
Fir2IrLazyPropertyAccessor(
|
||||
components, startOffset, endOffset,
|
||||
|
||||
Reference in New Issue
Block a user