13 lines
288 B
Plaintext
Vendored
13 lines
288 B
Plaintext
Vendored
// "Replace with 'newFun(p1, null, p2)'" "true"
|
|
|
|
interface I {
|
|
@Deprecated("", ReplaceWith("newFun(p1, null, p2)"))
|
|
fun oldFun(p1: String, p2: () -> Boolean)
|
|
|
|
fun newFun(p1: String, p2: String?, p3: () -> Boolean)
|
|
}
|
|
|
|
fun foo(i: I) {
|
|
i.<caret>newFun("a", null, { true })
|
|
}
|