Files
kotlin-fork/idea/testData/inspectionsLocal/redundantOverride/classAndInterface.kt
T
Mikhail Glukhikh dead2516c2 Redundant override inspection: don't report for ambiguous derivation
#KT-24405 Fixed
#KT-25883 Fixed
2018-09-07 16:32:11 +03:00

12 lines
180 B
Kotlin
Vendored

open class Class {
open fun foo(): Int = 4
}
interface Interface {
fun foo(): Int
}
class ChildClass : Class(), Interface {
override <caret>fun foo() = super.foo()
}