Fixed extension functions being grayed in import statement completion

#KT-5627 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-09-30 17:53:20 +03:00
parent e41732e572
commit ce05434a0c
5 changed files with 32 additions and 6 deletions
@@ -0,0 +1,7 @@
package second
fun String.extensionFun(){}
val Int.extensionVal: Int get() = 1
fun topLevelFun(p: (String, Int) -> Unit){}
val topLevelVal: Int = 1
@@ -0,0 +1,8 @@
package first
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: "topLevelVal", tailText: " (second)", attributes: "" }