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.
18 lines
299 B
Kotlin
Vendored
18 lines
299 B
Kotlin
Vendored
// "Replace with 'newFun(p, p)'" "true"
|
|
// WITH_RUNTIME
|
|
|
|
import java.util.*
|
|
|
|
@Deprecated("", ReplaceWith("newFun(p, p)"))
|
|
fun oldFun(p: List<String>) {
|
|
newFun(p, p)
|
|
}
|
|
|
|
fun newFun(p1: List<String>, p2: List<String>){}
|
|
|
|
fun foo() {
|
|
<caret>oldFun(bar())
|
|
}
|
|
|
|
fun <T> bar(): List<T> = ArrayList()
|