[LL FIR] correctly calculate lazy bodies for delegated properties

We should rebind symbols from generated constructions to the original
ones as we already did for regular bodies like (PsiRawFirBuilder.bindFunctionTarget).
This commit also removed bodies for generated accessors as a bonus

^KT-61491 Fixed
This commit is contained in:
Dmitrii Gridin
2023-10-31 14:02:29 +01:00
committed by Space Team
parent 680455b162
commit 38524f6b15
20 changed files with 635 additions and 791 deletions
@@ -1,7 +1,4 @@
// !DIAGNOSTICS: -UNUSED_EXPRESSION
// IGNORE_DIAGNOSTIC_API
// IGNORE_REVERSED_RESOLVE
// ^KT-61491
import kotlin.reflect.KProperty
@@ -1,7 +1,4 @@
// !DIAGNOSTICS: -UNUSED_EXPRESSION
// IGNORE_DIAGNOSTIC_API
// IGNORE_REVERSED_RESOLVE
// ^KT-61491
import kotlin.reflect.KProperty