Files
kotlin-fork/idea/testData/codeInsight/moveUpDown/expressions/lambdaInQualifiedExpression.kt.after
T
Toshiaki Kameyama 3c1b41c020 Move statement: move into lambda correctly
#KT-17887 Fixed
2020-05-09 22:08:02 +02:00

12 lines
157 B
Plaintext
Vendored

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