[LL FIR] do not reanalyze non-top level properties with initializer

Treat changes inside non-top level property initializer as OOB
It is OOB because CFG for a class depends on a property initializer,
so we must rebuild CFG for the class

Also, this commit makes the API more understandable

^KT-59687
This commit is contained in:
Dmitrii Gridin
2023-06-27 18:37:59 +02:00
parent 8137bee09c
commit 99e2a14b9c
5 changed files with 34 additions and 33 deletions
@@ -7,5 +7,5 @@ class X {/* NonReanalyzableClassDeclarationStructureElement */
val y = 42/* NonReanalyzableNonClassDeclarationStructureElement */
var z: Int = 15/* ReanalyzablePropertyStructureElement */
var z: Int = 15/* NonReanalyzableNonClassDeclarationStructureElement */
}