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

17 lines
188 B
Kotlin
Vendored

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