[IR] Use resolveFakeOverrideMaybeAbstract instead of resolveFakeOverride in hasStableParameterNames
Well, the resolved fake-override can be ABSTRACT ^KT-64045 Fixed
This commit is contained in:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user