FIR LC: use proper use-site target for accessor's JVM name
This commit is contained in:
committed by
Ilya Kirillov
parent
8989378b02
commit
d029e84b96
+1
-1
@@ -39,7 +39,7 @@ internal class FirLightAccessorMethodForSymbol(
|
||||
if (isGetter) getterName(this) else setterName(this)
|
||||
|
||||
private val _name: String by lazyPub {
|
||||
propertyAccessorSymbol.getJvmNameFromAnnotation() ?: run {
|
||||
propertyAccessorSymbol.getJvmNameFromAnnotation(accessorSite) ?: run {
|
||||
val defaultName = containingPropertySymbol.name.identifier.let {
|
||||
if (containingClass.isAnnotationType) it else it.abiName()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user