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.
15 lines
257 B
Kotlin
Vendored
15 lines
257 B
Kotlin
Vendored
// "Replace with 'newFun(p, p)'" "true"
|
|
// WITH_RUNTIME
|
|
|
|
@Deprecated("", ReplaceWith("newFun(p, p)"))
|
|
fun oldFun(p: Int): Int {
|
|
return newFun(p, p)
|
|
}
|
|
|
|
fun newFun(p1: Int, p2: Int): Int = 0
|
|
|
|
fun foo(): Int {
|
|
var v = 0
|
|
return <caret>oldFun(v++)
|
|
}
|