FIR: use "value" name in default setter value parameter symbol

This name is used in corresponding declaration
This commit is contained in:
Ilya Kirillov
2021-10-14 09:19:19 +02:00
parent d1335d3f44
commit b20859e305
@@ -5,6 +5,7 @@
package org.jetbrains.kotlin.fir.declarations.impl
import org.jetbrains.kotlin.builtins.StandardNames
import org.jetbrains.kotlin.KtFakeSourceElementKind
import org.jetbrains.kotlin.KtSourceElement
import org.jetbrains.kotlin.descriptors.EffectiveVisibility
@@ -142,7 +143,7 @@ class FirDefaultPropertySetter(
this@builder.moduleData = moduleData
this@builder.origin = origin
this@builder.returnTypeRef = propertyTypeRef
this@builder.symbol = FirValueParameterSymbol(Name.special("<default-setter-parameter>"))
this@builder.symbol = FirValueParameterSymbol(StandardNames.DEFAULT_VALUE_PARAMETER)
this@builder.annotations += parameterAnnotations
}
),