Files
Toshiaki Kameyama 60c185654f Move statement: move into lambda correctly
#KT-17887 Fixed

Original commit: 3c1b41c0200da6486eb15f3490a5f56dbcc48d50

GitOrigin-RevId: e395251a769840fff351b4ea02f61f602dfbbb47
2020-06-03 18:55:39 +03:00

12 lines
153 B
Kotlin

// MOVE: down
fun test() {
<caret>val foo = foo()
Bar().also {
if (foo != null) {
}
}
}
fun foo(): String? = null
class Bar