Files
kotlin-fork/compiler/testData/codegen/box/innerNested/superConstructorCall/objectExtendsInnerOfLocalWithCapture.kt
T
vladislav.grechko 54858c2118 [FIR] Fix naming of local classes when serializing metadata
^KT-63655: Fixed
^KT-63901: Fixed
^KT-63988: Fixed
2024-02-07 12:30:50 +00:00

16 lines
303 B
Kotlin
Vendored

fun box(): String {
class Local {
open inner class Inner(val s: String) {
open fun result() = "Fail"
}
val realResult = "OK"
val obj = object : Inner(realResult) {
override fun result() = s
}
}
return Local().obj.result()
}