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
289 B
Plaintext
Vendored
14 lines
289 B
Plaintext
Vendored
// "Replace with 'newFun(p)'" "true"
|
|
// WITH_RUNTIME
|
|
|
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
|
fun oldFun(vararg p: Int){
|
|
newFun(p)
|
|
}
|
|
|
|
fun newFun(p: IntArray){}
|
|
|
|
fun foo(list1: List<Int>,list2: List<Int>) {
|
|
<caret>newFun(intArrayOf(*list1.toIntArray(), 0, *list2.toIntArray()))
|
|
}
|