No "{...}" in presentation for functions in completion of imports and callable references
This commit is contained in:
+3
-1
@@ -3,5 +3,7 @@ package second
|
||||
fun String.extensionFun(){}
|
||||
val Int.extensionVal: Int get() = 1
|
||||
|
||||
fun topLevelFun(p: (String, Int) -> Unit){}
|
||||
fun topLevelFun1(p: (String, Int) -> Unit){}
|
||||
fun topLevelFun2(p: () -> Unit){}
|
||||
val topLevelVal: Int = 1
|
||||
|
||||
|
||||
@@ -4,5 +4,7 @@ import second.<caret>
|
||||
|
||||
// EXIST: { itemText: "extensionFun", tailText: "() for String in second", attributes: "" }
|
||||
// EXIST: { itemText: "extensionVal", tailText: " for Int in second", attributes: "" }
|
||||
// EXIST: { itemText: "topLevelFun", tailText: "(p: (String, Int) -> Unit) (second)", attributes: "" }
|
||||
// EXIST: { itemText: "topLevelFun1", tailText: "(p: (String, Int) -> Unit) (second)", attributes: "" }
|
||||
// EXIST: { itemText: "topLevelFun2", tailText: "(p: () -> Unit) (second)", attributes: "" }
|
||||
// EXIST: { itemText: "topLevelVal", tailText: " (second)", attributes: "" }
|
||||
// NOTHING_ELSE
|
||||
Reference in New Issue
Block a user