mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 08:31:31 +00:00
13 lines
282 B
Kotlin
Vendored
13 lines
282 B
Kotlin
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>oldFun("a", { true })
|
|
}
|