Completion: bold immediate members for extensions too

This commit is contained in:
Valentin Kipyatkov
2014-11-18 21:34:24 +03:00
parent a26388ef63
commit e0da6247af
16 changed files with 267 additions and 92 deletions
@@ -0,0 +1,15 @@
fun String.extFunForString(){}
fun Any.extFunForAny(){}
fun String?.extFunForStringNullable(){}
class C {
fun foo(s: String?) {
if (s != null) {
s.<caret>
}
}
}
// EXIST: { itemText: "extFunForString", attributes: "bold" }
// EXIST: { itemText: "extFunForAny", attributes: "" }
// EXIST: { itemText: "extFunForStringNullable", attributes: "" }