[IR] Use resolveFakeOverrideMaybeAbstract instead of resolveFakeOverride in hasStableParameterNames

Well, the resolved fake-override can be ABSTRACT

^KT-64045 Fixed
This commit is contained in:
Nikita Bobko
2023-12-07 13:53:52 +01:00
committed by Space Team
parent fb00c1dfb6
commit 599998039e
8 changed files with 95 additions and 1 deletions
@@ -0,0 +1,16 @@
// FIR_IDENTICAL
// MODULE: m1-common
// FILE: common.kt
expect interface Foo {
fun foo(param: String)
}
// MODULE: m2-jvm()()(m1-common)
// FILE: Base.java
public interface I {
public void foo(String renamed) {}
}
// FILE: jvm.kt
actual interface Foo : I
@@ -0,0 +1,18 @@
// FIR_IDENTICAL
// MODULE: m1-common
// FILE: common.kt
expect interface Foo {
fun foo(param: String)
}
// MODULE: m2-jvm()()(m1-common)
// FILE: Base.java
public interface I {
public void foo(String renamed) {}
}
// FILE: jvm.kt
actual interface Foo : I {
actual override fun foo(param: String)
}