blob: 35151141fa9670b77cf0c1274ba6bdaabb1fab0c [file] [log] [blame]
// "Replace with 'newFun(p1, *p2)'" "true"
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
fun oldFun(p1: String, vararg p2: Int){
newFun(p1, *p2)
}
fun newFun(p1: String, vararg p2: Int){}
fun foo(array: IntArray) {
<caret>oldFun("a", *array)
}