| // "Replace with 'newFun(*p, 1)'" "true" | |
| // WITH_RUNTIME | |
| @Deprecated("", ReplaceWith("newFun(*p, 1)")) | |
| fun oldFun(vararg p: Int){ | |
| newFun(*p, 1) | |
| } | |
| fun newFun(vararg p: Int){} | |
| fun foo(list1: List<Int>,list2: List<Int>) { | |
| <caret>newFun(*list1.toIntArray(), 0, *list2.toIntArray(), 1) | |
| } |