e2f75463d7
Don't reconfigure runtime before every test. For consistency, mark tests that require the runtime with directives instead of relying on test file names.
14 lines
311 B
Kotlin
Vendored
14 lines
311 B
Kotlin
Vendored
// "Replace with 'newFun(*p, *list.toIntArray())'" "true"
|
|
// WITH_RUNTIME
|
|
|
|
@Deprecated("", ReplaceWith("newFun(*p, *list.toIntArray())"))
|
|
fun oldFun(list: List<Int>, vararg p: Int){
|
|
newFun(*p, *list.toIntArray())
|
|
}
|
|
|
|
fun newFun(vararg p: Int){}
|
|
|
|
fun foo(list: List<Int>) {
|
|
<caret>oldFun(list, 1, 2, 3)
|
|
}
|