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
328 B
Kotlin
Vendored
16 lines
328 B
Kotlin
Vendored
// "Replace with 'newFun()'" "true"
|
|
// WITH_RUNTIME
|
|
|
|
@Deprecated("", ReplaceWith("newFun()"))
|
|
fun Int.oldFun(): Int = this
|
|
|
|
fun Int.newFun(): Int = this
|
|
|
|
fun foo(list: List<String>): Int {
|
|
return list
|
|
.filter { it.isNotEmpty() }
|
|
.map { it.length }
|
|
.first()
|
|
.<caret>oldFun()
|
|
}
|