Do not stop recursive visitor with return
#KT-23627 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
fun foo() = "".run {
|
||||
this.apply {
|
||||
printl<caret>
|
||||
}
|
||||
}
|
||||
//ELEMENT: println
|
||||
//TAIL_TEXT: "() (kotlin.io)"
|
||||
@@ -0,0 +1,7 @@
|
||||
fun foo() = "".run {
|
||||
this.apply {
|
||||
println()<caret>
|
||||
}
|
||||
}
|
||||
//ELEMENT: println
|
||||
//TAIL_TEXT: "() (kotlin.io)"
|
||||
+6
@@ -114,6 +114,12 @@ public class BasicCompletionHandlerTestGenerated extends AbstractBasicCompletion
|
||||
runTest("idea/idea-completion/testData/handlers/basic/KT14130.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("KT23627.kt")
|
||||
public void testKT23627() throws Exception {
|
||||
runTest("idea/idea-completion/testData/handlers/basic/KT23627.kt");
|
||||
}
|
||||
|
||||
|
||||
@TestMetadata("NestedTypeArg.kt")
|
||||
public void testNestedTypeArg() throws Exception {
|
||||
runTest("idea/idea-completion/testData/handlers/basic/NestedTypeArg.kt");
|
||||
|
||||
Reference in New Issue
Block a user