0fec50135f
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
9 lines
117 B
Kotlin
Vendored
9 lines
117 B
Kotlin
Vendored
fun test() {
|
|
var x = 0
|
|
if (x > 0) {
|
|
<expr>x = 1</expr>
|
|
}
|
|
consume(x)
|
|
}
|
|
|
|
fun consume(n: Int) {} |