[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
@@ -43,6 +43,8 @@ FILE fqName:<root> fileName:/common.kt
public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
CLASS CLASS name:C modality:FINAL visibility:public [expect] superTypes:[<root>.I1; <root>.I2]
annotations:
Suppress(names = ['ABSTRACT_MEMBER_NOT_IMPLEMENTED'])
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.C
CONSTRUCTOR visibility:public <> () returnType:<root>.C [primary,expect]
FUN FAKE_OVERRIDE name:f visibility:public modality:ABSTRACT <> ($this:<root>.I1) returnType:kotlin.String [expect,fake_override]
@@ -17,6 +17,7 @@ interface I2 {
val p: Int
}
@Suppress("ABSTRACT_MEMBER_NOT_IMPLEMENTED") // Workaround for KT-60390
expect class C() : I1, I2
// MODULE: platform()()(common)
@@ -17,6 +17,7 @@ interface I2 {
}
@Suppress(names = ["ABSTRACT_MEMBER_NOT_IMPLEMENTED"])
expect class C : I1, I2 {
expect constructor() /* primary */