14 lines
213 B
Kotlin
Vendored
14 lines
213 B
Kotlin
Vendored
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtProperty
|
|
// OPTIONS: usages
|
|
// OPTIONS: skipRead
|
|
fun foo() {
|
|
var <caret>v = 1
|
|
(@X v) = 2
|
|
print(v)
|
|
++ @X v
|
|
v--
|
|
print(-v)
|
|
v += 1
|
|
(v) -= 1
|
|
}
|