Intention to replace a = b with b.also { a = it }

^KT-22420 Fixed
This commit is contained in:
Dereck Bridie
2020-09-03 15:11:01 +02:00
committed by Vladimir Dolzhenko
parent e387d56d93
commit 94970e2d1e
15 changed files with 131 additions and 0 deletions
@@ -0,0 +1,9 @@
// WITH_RUNTIME
object X {
var string = "foo"
}
var target = "baz"
fun main() {
target <caret>= X.string
}