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
225 B
Plaintext
Vendored
14 lines
225 B
Plaintext
Vendored
// "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() {
|
|
<caret>newFun(1, 2, 3, 1)
|
|
}
|