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
237 B
Kotlin
Vendored
16 lines
237 B
Kotlin
Vendored
// "Replace with 'newFun()'" "true"
|
|
// WITH_RUNTIME
|
|
|
|
@Deprecated("", ReplaceWith("newFun()"))
|
|
fun oldFun(p: Int): Int {
|
|
return newFun()
|
|
}
|
|
|
|
fun newFun(): Int = 0
|
|
|
|
fun foo(): Int {
|
|
return <caret>oldFun(bar())
|
|
}
|
|
|
|
fun bar(): Int = 0
|