3f1bf6112f
Reporting it for `VIRTUAL_MEMBER_HIDDEN` is ok, because `VIRTUAL_MEMBER_HIDDEN` has always been an error, so we are allowed to treat these as overrides implicitly. ^KT-59408 Fixed ^KT-59419 Fixed ^KT-57076 Fixed
16 lines
305 B
Kotlin
Vendored
16 lines
305 B
Kotlin
Vendored
// ISSUE: KT-36188
|
|
|
|
interface SomeRandomBase<K> {
|
|
fun child(props: Int = 20)
|
|
}
|
|
|
|
interface SomeRandomOverride<J> : SomeRandomBase<J>
|
|
|
|
open class Keker<P> {
|
|
open fun child(props: Int = 10) {}
|
|
}
|
|
|
|
class Implementation<P>() : Keker<P>(), SomeRandomOverride<P> {
|
|
override fun child(props: Int) {}
|
|
}
|