Code completion: template item for function taking lambda with 2 or more parameters (KT-4855) + better handling of type instantiation in smart completion
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fun foo(p: (String, Char) -> Unit){}
|
||||
|
||||
fun test() {
|
||||
fo<caret>
|
||||
}
|
||||
|
||||
// EXIST: { lookupString:"foo", itemText: "foo(p: (String, Char) -> Unit)", typeText:"Unit" }
|
||||
// EXIST: { lookupString:"foo", itemText: "foo { (String, Char) -> ... }", typeText:"Unit" }
|
||||
Reference in New Issue
Block a user