Performance optimization in completion: search context variables of functional types later
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
class C {
|
||||
companion object {
|
||||
fun create(p: (Int) -> Unit) = C()
|
||||
}
|
||||
}
|
||||
|
||||
val handler: (Int) -> Unit = {}
|
||||
|
||||
fun v: C = cr<caret>
|
||||
|
||||
// EXIST: { allLookupStrings: "C, create", itemText: "C.create", tailText: " {...} (p: (Int) -> Unit) (<root>)", typeText:"C" }
|
||||
// EXIST: { allLookupStrings: "C, create", itemText: "C.create", tailText: "(handler) (<root>)", typeText:"C" }
|
||||
Reference in New Issue
Block a user