[FIR] Reproduce KT-66046

^KT-66046
This commit is contained in:
Nikolay Lunyak
2024-03-06 12:40:06 +02:00
committed by Space Team
parent 08dc7aeee3
commit daa6e03e3b
9 changed files with 148 additions and 0 deletions
@@ -0,0 +1,22 @@
// ISSUE: KT-66046
open class A1 {
var a: Int = 10
protected set
}
interface I1 {
var a: Int
}
abstract class B1 : A1(), I1
open class A2 {
protected fun foo(): Int = 10
}
interface I2 {
fun foo(): Int
}
abstract class <!CANNOT_INFER_VISIBILITY!>B2<!> : A2(), I2