e42c1be354
In more details, we use either platform override checker (if we came from platform) or the combined intersection scope override checker at this place. Also this commit fixes various places around JavaOverrideChecker, allowing to apply it in intersection override checker properly: - don't consider return types in this place - apply JavaOverrideChecker if at least one candidate is from Java - compare type primitivity closer to K1 logic #KT-62554 Fixed Partially fixes KT-63242
18 lines
397 B
Kotlin
Vendored
18 lines
397 B
Kotlin
Vendored
// FULL_JDK
|
|
// JVM_TARGET: 1.8
|
|
// ISSUE: KT-63243
|
|
|
|
abstract class MyMap<K : Any, V : Any> : AbstractMutableMap<K, V>()
|
|
|
|
interface II {
|
|
fun replace(key: Int, value: Int): Int? = null
|
|
}
|
|
|
|
abstract class ZI : MyMap<Int, Int>(), II
|
|
|
|
interface IS {
|
|
fun replace(key: String, value: String): String? = null
|
|
}
|
|
|
|
abstract <!MANY_IMPL_MEMBER_NOT_IMPLEMENTED!>class ZS<!> : MyMap<String, String>(), IS
|