[IR] Fix mangling generic properties from IR-based descriptors

For type parameters of generic properties,
`DeclarationDescriptor#getContainingDeclaration` must return
the property descriptor instead of the accessor function descriptor.

^KT-57436 Fixed
This commit is contained in:
Sergej Jaskiewicz
2023-04-18 14:12:11 +02:00
committed by Space Team
parent 5f1976c450
commit 5d3fe7547a
14 changed files with 23 additions and 26 deletions
@@ -1,6 +1,7 @@
// FIR_IDENTICAL
// MUTE_SIGNATURE_COMPARISON_K2: ANY
// ^ KT-57429
// MUTE_SIGNATURE_COMPARISON_K2: JS_IR
// ^ KT-57818
val <T : CharSequence> T.gk: () -> T
get() = { -> this }