Files
kotlin-fork/idea/testData/inspectionsLocal/redundantOverride/useGenericsSuper.kt
T
2017-08-18 12:05:02 +03:00

15 lines
207 B
Kotlin
Vendored

// PROBLEM: none
interface First {
fun foo() = 2
}
interface Second {
fun foo() = 3
}
class Diamond : First, Second {
override <caret>fun foo(): Int {
return super<First>.foo()
}
}