Expand selection for labeled return #KT-26987 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-09-21 16:06:46 +09:00
committed by Alexander Podkhalyuzin
parent 790c5632ea
commit ecba862dc9
13 changed files with 65 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
fun test(list: List<Int>) {
list.mapNotNull {
if (it == 0) {
<caret>return@mapNotNull null
}
it
}
}
+8
View File
@@ -0,0 +1,8 @@
fun test(list: List<Int>) {
list.mapNotNull {
if (it == 0) {
<selection><caret>return</selection>@mapNotNull null
}
it
}
}
+8
View File
@@ -0,0 +1,8 @@
fun test(list: List<Int>) {
list.mapNotNull {
if (it == 0) {
<selection><caret>return@mapNotNull</selection> null
}
it
}
}
+8
View File
@@ -0,0 +1,8 @@
fun test(list: List<Int>) {
list.mapNotNull {
if (it == 0) {
<selection><caret>return@mapNotNull null</selection>
}
it
}
}