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.
16 lines
264 B
Kotlin
Vendored
16 lines
264 B
Kotlin
Vendored
// "Replace with 'newFun(p)'" "true"
|
|
// WITH_RUNTIME
|
|
|
|
fun foo(vararg s: String) = s.joinToString()
|
|
|
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
|
fun oldFun(p: String){
|
|
newFun(p)
|
|
}
|
|
|
|
fun newFun(p: String){}
|
|
|
|
fun foo() {
|
|
<caret>oldFun(foo(*arrayOf("a", "b")))
|
|
}
|