FIR: refactor/use properly FirAccessorSymbol & FirSyntheticPropertySymbol
This commit is contained in:
committed by
TeamCityServer
parent
41849c8beb
commit
c673c4cc91
+1
-1
@@ -154,7 +154,7 @@ class FirSignatureEnhancement(
|
||||
return buildSyntheticProperty {
|
||||
moduleData = this@FirSignatureEnhancement.moduleData
|
||||
this.name = name
|
||||
symbol = FirAccessorSymbol(accessorSymbol.callableId, accessorSymbol.accessorId)
|
||||
symbol = FirAccessorSymbol(accessorSymbol.callableId, accessorSymbol.getterId)
|
||||
delegateGetter = enhancedGetterSymbol.fir as FirSimpleFunction
|
||||
delegateSetter = enhancedSetterSymbol?.fir as FirSimpleFunction?
|
||||
status = firElement.status
|
||||
|
||||
+2
-2
@@ -75,8 +75,8 @@ class JavaClassUseSiteMemberScope(
|
||||
moduleData = session.moduleData
|
||||
name = property.name
|
||||
symbol = FirAccessorSymbol(
|
||||
accessorId = getterSymbol.callableId,
|
||||
callableId = CallableId(getterSymbol.callableId.packageName, getterSymbol.callableId.className, property.name)
|
||||
getterId = getterSymbol.callableId,
|
||||
propertyId = CallableId(getterSymbol.callableId.packageName, getterSymbol.callableId.className, property.name)
|
||||
)
|
||||
delegateGetter = getterSymbol.fir
|
||||
delegateSetter = setterSymbol?.fir
|
||||
|
||||
Reference in New Issue
Block a user