Files
Yan Zhulanow 0fec50135f [kotlin] Provide CFG facade for the extract function refactoring
This is the first implementation of a control flow graph facade for the
extract function IDE refactoring. The exact contents of
'KtDataFlowExitPointSnapshot' will be refined later.

^KT-65762 Fixed
2024-03-14 10:53:11 +00:00

11 lines
156 B
Kotlin
Vendored

fun test() {
var x = 0
<expr>consume(x)
while (cond()) {
consume(++x)
}</expr>
}
fun cond(): Boolean = true
fun consume(n: Int) {}