mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
30 lines
569 B
Plaintext
30 lines
569 B
Plaintext
// "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
|
|
|
|
|
|
class ContainsNested {
|
|
class DerivedB : DerivedA(), IntB, IntA {
|
|
|
|
override fun check(): String {
|
|
// Dispatched to AbstractClassA.check()
|
|
return super<IntA>.<caret>check()
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AbstractSuperCallFix |