blob: df20f4f027c14ec7118a4b52a52847d58ddbb640 [file] [log] [blame]
// "Replace with 'new'" "true"
// WITH_RUNTIME
class A {
@Deprecated("msg", ReplaceWith("new"))
var old = ""
get() = new
var new = ""
}
fun foo() {
val a = A()
a.new = "foo"
}