[box-tests] Added a reproducer for KT-57053

This commit is contained in:
Igor Chevdar
2023-03-02 15:46:27 +02:00
committed by Space Team
parent 88f293d4a9
commit 99ec3215d9
19 changed files with 118 additions and 0 deletions
@@ -0,0 +1,11 @@
// FILE: 1.kt
inline fun foo(): String {
val obj = object {
fun localDefault(s: String = "OK") = s
fun local() = localDefault()
}
return obj.local()
}
// FILE: 2.kt
fun box() = foo()