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
253 B
Kotlin
Vendored
17 lines
253 B
Kotlin
Vendored
// "Replace with 'newFun(this, s)'" "true"
|
|
// WITH_RUNTIME
|
|
|
|
interface I {
|
|
@Deprecated("", ReplaceWith("newFun(this, s)"))
|
|
fun oldFun(s: String)
|
|
}
|
|
|
|
fun newFun(i: I, s: String){}
|
|
|
|
fun I.foo() {
|
|
with("a") {
|
|
<caret>oldFun(this)
|
|
}
|
|
}
|
|
|