Files
kotlin-fork/compiler/testData/diagnostics/tests/sourceCompatibility/noInlineProperty.fir.kt
T

12 lines
198 B
Kotlin
Vendored

// !LANGUAGE: -InlineProperties
var value: Int = 0
inline var z: Int
get() = ++value
set(p: Int) { value = p }
var z2: Int
inline get() = ++value
inline set(p: Int) { value = p }