[FIR] Use FirDefaultOverridesBackwardCompatibilityHelper with common metadata compilation

Also, use it with JS compilation

^KT-57735 Fixed
This commit is contained in:
Ivan Kochurkin
2023-04-06 20:08:56 +02:00
parent 4969a0e4f6
commit 9a5cc39588
19 changed files with 201 additions and 106 deletions
@@ -0,0 +1,14 @@
// FIR_IDENTICAL
// ISSUE: KT-57858
@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
import kotlin.internal.PlatformDependent
interface I {
@PlatformDependent
fun f() {}
}
class C : I {
fun <!VIRTUAL_MEMBER_HIDDEN!>f<!>() {}
}