[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
@@ -1,7 +1,7 @@
open class A
(init: A.() -> Unit)/* NonReanalyzableNonClassDeclarationStructureElement */
{/* NonReanalyzableClassDeclarationStructureElement */
val prop: String = ""/* ReanalyzablePropertyStructureElement */
val prop: String = ""/* NonReanalyzableNonClassDeclarationStructureElement */
}
class B()/* NonReanalyzableNonClassDeclarationStructureElement */ : A()/* NonReanalyzableClassDeclarationStructureElement */