blob: 0fae72b6c5f6b7243deeaa6e76b03cb125059641 [file] [log] [blame]
// "Replace with 'newFun(p2)'" "true"
// WITH_RUNTIME
@Deprecated("", ReplaceWith("newFun(p2)"))
fun oldFun(p1: Int, p2: Int): Boolean {
return newFun(p2)
}
fun newFun(p: Int) = false
fun foo(list: List<Int>) {
list.filter { !<caret>oldFun(bar(), it) }
}
fun bar(): Int = 0