KT-8968 Special completion after "super."

#KT-8968 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-11-03 22:16:08 +03:00
parent 99b35257c6
commit e33e1ef8d7
14 changed files with 158 additions and 11 deletions
+16
View File
@@ -0,0 +1,16 @@
open class B {
open fun foo(p1: Int, p2: String): Int = 0
open fun bar(p1: Int, p2: String): Int = 0
}
class C : B() {
override fun foo(p1: Int, p2: String): Int {
return super.<caret>
}
}
// EXIST: { lookupString: "foo", itemText: "foo", tailText: "(p1, p2)", typeText: "Int", attributes: "bold" }
// EXIST: { lookupString: "foo", itemText: "foo", tailText: "(p1: Int, p2: String)", typeText: "Int", attributes: "bold" }
// EXIST: { lookupString: "bar", itemText: "bar", tailText: "(p1: Int, p2: String)", typeText: "Int", attributes: "bold" }
// EXIST: hashCode
// NOTHING_ELSE