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.
17 lines
282 B
Plaintext
Vendored
17 lines
282 B
Plaintext
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 {
|
|
val p = bar()
|
|
return newFun(p, p)
|
|
}
|
|
|
|
fun bar(): Int? = null
|