Move statement up/down fails for multiline declarations with lambdas (KT-21013)
#KT-21013 Fixed
This commit is contained in:
committed by
Nikolay Krasko
parent
f41165c566
commit
3f96e1dabc
+6
@@ -0,0 +1,6 @@
|
||||
// MOVE: up
|
||||
fun test() {
|
||||
(0..10)
|
||||
.map { it }
|
||||
<caret>println()
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// MOVE: up
|
||||
fun test() {
|
||||
<caret>println()
|
||||
(0..10)
|
||||
.map { it }
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// MOVE: up
|
||||
fun test() {
|
||||
(0..10)
|
||||
.map {
|
||||
it
|
||||
}
|
||||
<caret>println()
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// MOVE: up
|
||||
fun test() {
|
||||
(0..10)
|
||||
.map {
|
||||
it
|
||||
<caret>println()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user