[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:
+4
-2
@@ -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()
|
||||
Reference in New Issue
Block a user