[FIR] Fix handling fake overrides in override visibility check

^KT-65432
This commit is contained in:
Pavel Kunyavskiy
2024-01-31 18:09:20 +01:00
committed by Space Team
parent 61f14374b9
commit 24f8da471f
14 changed files with 1503 additions and 4 deletions
+17
View File
@@ -0,0 +1,17 @@
// WITH_STDLIB
// ENABLE_IR_FAKE_OVERRIDE_GENERATION
// SEPARATE_SIGNATURE_DUMP_FOR_K2
// ^ Value parameters in fake overrides generated by K1 and K2 are different
// WITH_REFLECT
// TARGET_BACKEND: JVM_IR
// FILE: Java1.java
public class Java1 extends KotlinClass { }
// FILE: 1.kt
import java.util.ArrayList
class A : Java1()
open class KotlinClass : ArrayList<Int>()