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