Fixed correct detection of bold members in case of multiple receivers (broken by previous changes)

This commit is contained in:
Valentin Kipyatkov
2016-08-31 19:46:03 +03:00
parent d93525d7f8
commit c068bd3158
4 changed files with 58 additions and 18 deletions
@@ -0,0 +1,23 @@
interface Base {
fun inBase()
}
interface I1 : Base {
fun inI1()
}
interface I2 : I1 {
fun inI2()
}
fun foo(i1: I1, i2: I2) {
with(i1) {
with(i2) {
<caret>
}
}
}
// EXIST: { lookupString: "inI1", attributes: "bold" }
// EXIST: { lookupString: "inI2", attributes: "bold" }
// EXIST: { lookupString: "inBase", attributes: "" }
// EXIST: { lookupString: "equals", attributes: "" }