blob: 46d7d808e539493ba97b090adbcf8c8e168026c1 [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 {
new = "foo"
}
}