You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
interface Interface {
fun f1()
}
open class Base {
fun f1() {
}
}
class Subject : Interface, Base() {
fun f2() {}
}
The code above compiles successfully as Subject overrides Interface.f1 via Base.f1. Unfortunately, there is no API in KSP to be able to check if Base.f1 overrides Interface.f1 when it is a member of Subject.
The text was updated successfully, but these errors were encountered:
Not sure if it will affect the implementation but same problem can happen with properties as well.
interface Interface {
val prop: String
fun f1()
}
open class Base {
val prop:String = ""
fun f1() {
}
}
class Subject : Interface, Base() {
fun f2() {}
}
```
Input:
The code above compiles successfully as
Subject
overridesInterface.f1
viaBase.f1
. Unfortunately, there is no API in KSP to be able to check ifBase.f1
overridesInterface.f1
when it is a member ofSubject
.The text was updated successfully, but these errors were encountered: