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