Overrides completion on typing member name too

#KT-9431 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-10-02 22:17:50 +03:00
parent fd6244ac51
commit c5fdd649ab
12 changed files with 123 additions and 11 deletions
@@ -0,0 +1,19 @@
interface I {
fun foo()
val someVal: Int
var someVar: Int
}
class Base1 {
protected open fun bar(){}
open val fromBase: String = ""
}
open class Base2 : Base1() {
}
class A(some<caret>) : Base2(), I
// EXIST: { itemText: "override val someVal: Int", tailText: null, typeText: "I" }
// EXIST: { itemText: "override var someVar: Int", tailText: null, typeText: "I" }
// NOTHING_ELSE