Files
kotlin-fork/analysis/low-level-api-fir/testdata/fileStructure/classMemberProperty.kt
T
Dmitrii Gridin 99e2a14b9c [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
2023-07-05 20:28:28 +02:00

12 lines
350 B
Kotlin

class X {/* NonReanalyzableClassDeclarationStructureElement */
var x: Int/* ReanalyzablePropertyStructureElement */
get() = field
set(value) {
field = value
}
val y = 42/* NonReanalyzableNonClassDeclarationStructureElement */
var z: Int = 15/* NonReanalyzableNonClassDeclarationStructureElement */
}