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
226 B
Kotlin
Vendored
14 lines
226 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 = <caret>oldFun(bar())
|
|
|
|
fun bar(): Int? = 0
|