Files
kotlin-fork/analysis/low-level-api-fir/testdata/fileStructure/propertyAccessors.kt
T
Dmitrii Gridin e354b2a900 [LL FIR] rewrote in-block modifications logic
Now we will invalidate bodies for FIR declarations
immediately after in-block modifications in these declarations
We assume that such in-block modifications can happen
only under write action,
so it should be safe to make changes for FirFile

^KT-59687 Fixed
^KT-59199 Fixed
^KTIJ-26066 Fixed
2023-07-05 20:29:00 +02:00

14 lines
328 B
Kotlin

var x: Int = 10/* ReanalyzablePropertyStructureElement */
get() = field
set(value) {
field = value
}
class X {/* NonReanalyzableClassDeclarationStructureElement */
var y: Int = 10/* ReanalyzablePropertyStructureElement */
get() = field
set(value) {
field = value
}
}