blob: e39974e27fb6241b35381fc5812b49ca038c43ed [file] [log] [blame]
interface T {
fun fromTrait() = ""
}
abstract class Base : T {
fun fromBase() = ""
}
class Derived : Base() {
override fun fromTrait() = ""
val fromDerived: String = ""
}
fun foo(d: Derived): String {
return d.<caret>
}
// EXIST: { itemText: "fromTrait", attributes: "" }
// EXIST: { itemText: "fromDerived", attributes: "bold" }
// EXIST: { itemText: "fromBase", attributes: "" }
// EXIST: { itemText: "toString", attributes: "" }