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,17 @@
fun C.extFunForC(){}
fun D.extFunForD(){}
fun Any.extFunForAny(){}
open class C {
fun foo() {
if (this is D) {
<caret>
}
}
}
class D : C
// EXIST: { itemText: "extFunForD", attributes: "bold" }
// EXIST: { itemText: "extFunForC", attributes: "" }
// EXIST: { itemText: "extFunForAny", attributes: "" }