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:
+10
@@ -0,0 +1,10 @@
|
||||
fun String.xfoo(p: () -> Unit): String = ""
|
||||
|
||||
fun X.test() {
|
||||
val local: () -> Unit = { }
|
||||
"a".xf<caret>
|
||||
}
|
||||
|
||||
// ELEMENT: xfoo
|
||||
// TAIL_TEXT: "(local) for String in <root>"
|
||||
// CHAR: '.'
|
||||
Reference in New Issue
Block a user