blob: 695836d55cc3f8d701a62f114d37b9f30a6631aa [file]
// "Replace with 'newFun(p2)'" "true"
@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 { !bar().let { p1 -> newFun(it) } }
}
fun bar(): Int = 0