summaryrefslogtreecommitdiff
path: root/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeIsExtendedByOtherSuperType.kt
blob: b438e8ee874971fd008cfaa478710445a876fa64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// "Specify supertype" "true"
interface X {
    fun foo() {}
}

open class Y: X {
    override fun foo() {}
}

interface Z {
    fun foo() {}
}

class Test : X, Y(), Z {
    override fun foo() {
        <caret>super.foo()
    }
}