blob: 98bc45e80aa304cdb3ecc512cf94bf3512e44dab [file] [log] [blame]
package test
class A
open var String.<caret>p: Int
get() = 1
set(value: Int) {}
fun test() {
with(A()) {
val t = p
p = 1
}
val t1 = A().p
A().p = 1
}