Do not stop recursive visitor with return

#KT-23627 Fixed
This commit is contained in:
Alexander Podkhalyuzin
2018-07-06 16:31:52 +03:00
parent 2d4cbc712d
commit 04fd4ef9de
5 changed files with 28 additions and 1 deletions
@@ -0,0 +1,7 @@
fun foo() = "".run {
this.apply {
printl<caret>
}
}
//ELEMENT: println
//TAIL_TEXT: "() (kotlin.io)"
@@ -0,0 +1,7 @@
fun foo() = "".run {
this.apply {
println()<caret>
}
}
//ELEMENT: println
//TAIL_TEXT: "() (kotlin.io)"