Files
kotlin-fork/idea/testData/refactoring/changeSignature/RemoveTopLevelPropertyReceiverAfter.kt
T
2015-11-02 15:15:39 +03:00

17 lines
178 B
Kotlin
Vendored

package test
class A
open var <caret>p: Int
get() = 1
set(value: Int) {}
fun test() {
with(A()) {
val t = p
p = 1
}
val t1 = p
p = 1
}