mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
25 lines
506 B
Kotlin
25 lines
506 B
Kotlin
// "Specify super type 'IntA' explicitly" "true"
|
|
|
|
interface IntA {
|
|
fun check(): String = "OK"
|
|
}
|
|
|
|
interface IntB {
|
|
fun check(): String
|
|
}
|
|
|
|
abstract class AbstractClassA {
|
|
abstract fun check(): String
|
|
}
|
|
|
|
abstract class DerivedA : AbstractClassA(), IntA
|
|
|
|
object DerivedB : DerivedA(), IntB {
|
|
|
|
override fun check(): String {
|
|
// Dispatched to AbstractClassA.check()
|
|
return super.<caret>check()
|
|
}
|
|
}
|
|
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix |