[AA] make consistent hasStableParameterNames for setter and getter

^KT-54311
This commit is contained in:
Dmitrii Gridin
2022-10-14 14:41:23 +02:00
committed by Space Team
parent ba7d340090
commit 3c9fb5db27
14 changed files with 51 additions and 187 deletions
@@ -39,7 +39,7 @@ internal class KtFe10DescPropertyGetterSymbol(
get() = withValidityAssertion { descriptor.valueParameters.map { KtFe10DescValueParameterSymbol(it, analysisContext) } }
override val hasStableParameterNames: Boolean
get() = withValidityAssertion { descriptor.ktHasStableParameterNames }
get() = withValidityAssertion { true }
override val callableIdIfNonLocal: CallableId?
get() = withValidityAssertion { descriptor.correspondingProperty.getterCallableIdIfNotLocal }
@@ -41,7 +41,7 @@ internal class KtFe10DescPropertySetterSymbol(
get() = withValidityAssertion { descriptor.valueParameters.map { KtFe10DescValueParameterSymbol(it, analysisContext) } }
override val hasStableParameterNames: Boolean
get() = withValidityAssertion { descriptor.ktHasStableParameterNames }
get() = withValidityAssertion { true }
override val callableIdIfNonLocal: CallableId?
get() = withValidityAssertion { descriptor.correspondingProperty.setterCallableIdIfNotLocal }