[Test] Ensure FIR doesn't fail on recursive private-to-this case
^KT-55446
This commit is contained in:
committed by
Space Team
parent
c64575f4a2
commit
b87aa470dd
@@ -0,0 +1 @@
|
||||
org.jetbrains.kotlin.util.ReenteringLazyValueComputationException
|
||||
@@ -0,0 +1,14 @@
|
||||
// FIR_IDENTICAL
|
||||
// ISSUE: KT-55446
|
||||
val Any?.tt: String
|
||||
get() = ""
|
||||
|
||||
open class Base<in T>(t: T) {
|
||||
private val tt = t.also { foo(null!!) }
|
||||
|
||||
fun foo(a: Derived<String>) = run {
|
||||
val x: String = a.tt
|
||||
}
|
||||
}
|
||||
|
||||
class Derived<in T>(t: T) : Base<T>(t)
|
||||
Reference in New Issue
Block a user