blob: 4b7a9d2fc41a424f5156696d8a5dbe6d5fa706e4 [file] [log] [blame]
// "Replace with 'newFun(t, k)'" "true"
open class Base<T> {
@Deprecated("", ReplaceWith("newFun(t, k)"))
fun <K> oldFun(t: T, k: K) = k
fun <K> newFun(t: T, k: K) = k
}
class Derived : Base<String>() {
fun foo() {
<caret>oldFun("a", 1)
}
}