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
270 B
Kotlin
Vendored
14 lines
270 B
Kotlin
Vendored
// "Replace with 'newFun(p1, *p2)'" "true"
|
|
// WITH_RUNTIME
|
|
|
|
@Deprecated("", ReplaceWith("newFun(p1, *p2)"))
|
|
fun oldFun(p1: String, p2: IntArray) {
|
|
newFun(p1, *p2)
|
|
}
|
|
|
|
fun newFun(p1: String, vararg p2: Int){}
|
|
|
|
fun foo() {
|
|
<caret>oldFun("a", intArrayOf(1, 2, 3))
|
|
}
|