blob: 3e2e07c1fc1e4f66df26dcbf5fbc02f9efdeeb87 [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.new += "foo"
}