summaryrefslogtreecommitdiff
path: root/plugins/kotlin/idea/tests/testData/quickfix/specifySuperType/superTypeIsExtendedByOtherSuperType.kt
blob: 28ac1b4265a8025863f76c98fd633982c3e0c0d0 (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()
    }
}