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
17 lines
258 B
Kotlin
Vendored
17 lines
258 B
Kotlin
Vendored
fun test() {
|
|
buildFoo {
|
|
<expr>value</expr> = produceString()
|
|
}
|
|
}
|
|
|
|
fun buildFoo(builder: Foo.() -> Unit): Foo {
|
|
val foo = Foo()
|
|
foo.builder()
|
|
return foo
|
|
}
|
|
|
|
fun Foo {
|
|
var value: String? = null
|
|
}
|
|
|
|
fun produceString(): String = "" |