blob: 459ee71620d0b57c100cf195116e017d06e124a3 [file] [log] [blame]
// "Replace with 'new'" "true"
// WITH_RUNTIME
class A {
@Deprecated("msg", ReplaceWith("new"))
var old
get() = new
set(value) {
new = value
}
var new = ""
}
fun foo() {
val a = A()
a.apply {
<caret>old = "foo"
}
}