FIR LC: use proper use-site target for accessor's JVM name

This commit is contained in:
Jinseong Jeon
2021-11-03 10:16:04 -07:00
committed by Ilya Kirillov
parent 8989378b02
commit d029e84b96
@@ -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()
}