No "{...}" in presentation for functions in completion of imports and callable references

This commit is contained in:
Valentin Kipyatkov
2015-10-01 21:14:04 +03:00
parent 08335a2ac9
commit e562c019f9
9 changed files with 192 additions and 166 deletions
@@ -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