Select lambda after other args when it's outside argument list (KT-21214)

#KT-21214 Fixed
This commit is contained in:
Joscha Alisch
2017-12-23 15:27:41 +01:00
committed by Nikolay Krasko
parent 976a158ce1
commit 809cc220ed
17 changed files with 126 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
fun foo() {
fo<caret>o(1, 2) {
1
}
}
+5
View File
@@ -0,0 +1,5 @@
fun foo() {
<selection>fo<caret>o</selection>(1, 2) {
1
}
}
+5
View File
@@ -0,0 +1,5 @@
fun foo() {
<selection>fo<caret>o(1, 2)</selection> {
1
}
}
+5
View File
@@ -0,0 +1,5 @@
fun foo() {
<selection> fo<caret>o(1, 2) {
1
}
</selection>}
+5
View File
@@ -0,0 +1,5 @@
fun foo() {
fo<caret>o {
1
}
}
+5
View File
@@ -0,0 +1,5 @@
fun foo() {
<selection>fo<caret>o</selection> {
1
}
}
+5
View File
@@ -0,0 +1,5 @@
fun foo() {
<selection> fo<caret>o {
1
}
</selection>}
+5
View File
@@ -0,0 +1,5 @@
fun foo() {
fo<caret>o({
1
})
}
+5
View File
@@ -0,0 +1,5 @@
fun foo() {
<selection>fo<caret>o</selection>({
1
})
}
+5
View File
@@ -0,0 +1,5 @@
fun foo() {
<selection> fo<caret>o({
1
})
</selection>}
+5
View File
@@ -0,0 +1,5 @@
fun foo() {
fo<caret>o() {
1
}
}
+5
View File
@@ -0,0 +1,5 @@
fun foo() {
<selection>fo<caret>o</selection>() {
1
}
}
+5
View File
@@ -0,0 +1,5 @@
fun foo() {
<selection>fo<caret>o()</selection> {
1
}
}
+5
View File
@@ -0,0 +1,5 @@
fun foo() {
<selection> fo<caret>o() {
1
}
</selection>}