bddaab9d48
Related to KT-21237
18 lines
264 B
Kotlin
Vendored
18 lines
264 B
Kotlin
Vendored
// "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.<caret>old += "foo"
|
|
} |