[FE] Stop ignoring ABSTRACT_MEMBER_NOT_IMPLEMENTED for expect classes

^KT-59739 Fixed
Review: https://jetbrains.team/p/kt/reviews/11038/timeline
This commit is contained in:
Nikita Bobko
2023-07-10 11:23:25 +02:00
committed by Space Team
parent bfcb90c716
commit 4f3ecedbca
25 changed files with 161 additions and 42 deletions
@@ -13,7 +13,9 @@ interface I2 {
fun f(): String
}
expect class C() : I1, I2
expect class C() : I1, I2 {
override fun f(): String
}
fun test() = C().f()
@@ -21,7 +23,7 @@ fun test() = C().f()
// FILE: platform.kt
actual class C : I1, I2 {
override fun f() = "OK"
actual override fun f() = "OK"
}
fun box() = test()