Some use of parameter names in completion
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
fun foo(p: (word: String, number: Int) -> Unit){}
|
||||
|
||||
fun bar() {
|
||||
foo(<caret>)
|
||||
}
|
||||
|
||||
// ELEMENT: "{ word, number -> ... }"
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
fun foo(p: (word: String, number: Int) -> Unit){}
|
||||
|
||||
fun bar() {
|
||||
foo({ word, number -> <caret> })
|
||||
}
|
||||
|
||||
// ELEMENT: "{ word, number -> ... }"
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
fun foo(p: ((word: String, number: Int) -> Unit)?) {}
|
||||
|
||||
fun bar() {
|
||||
foo(<caret>)
|
||||
}
|
||||
|
||||
// ELEMENT: "{ word, number -> ... }"
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
fun foo(p: ((word: String, number: Int) -> Unit)?) {}
|
||||
|
||||
fun bar() {
|
||||
foo({ word, number -> <caret> })
|
||||
}
|
||||
|
||||
// ELEMENT: "{ word, number -> ... }"
|
||||
Reference in New Issue
Block a user