KT-8898 If invocation context contains functional value compatible with function in completion list, show non-literal item
#KT-8898 Fixed
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
fun test(p1: (String) -> Int, p2: (Int) -> Int, p3: (String) -> Char) {
|
||||
listOf("a", "b").map<caret>
|
||||
}
|
||||
|
||||
// EXIST: { itemText: "map", tailText: " {...} (transform: (String) -> R) for Iterable<T> in kotlin", typeText:"List<R>" }
|
||||
// EXIST: { itemText: "map", tailText: "(p1) for Iterable<T> in kotlin", typeText: "List<Int>" }
|
||||
// ABSENT: { itemText: "map", tailText: "(p2) for Iterable<T> in kotlin", typeText: "List<Int>" }
|
||||
// EXIST: { itemText: "map", tailText: "(p3) for Iterable<T> in kotlin", typeText: "List<Char>" }
|
||||
Reference in New Issue
Block a user