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
272 B
Kotlin
Vendored
16 lines
272 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 {
|
|
return <caret>oldFun(bar())
|
|
}
|
|
|
|
fun bar(): Int? = null
|