[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:
+2
@@ -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]
|
||||
|
||||
+1
@@ -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)
|
||||
|
||||
+1
@@ -17,6 +17,7 @@ interface I2 {
|
||||
|
||||
}
|
||||
|
||||
@Suppress(names = ["ABSTRACT_MEMBER_NOT_IMPLEMENTED"])
|
||||
expect class C : I1, I2 {
|
||||
expect constructor() /* primary */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user