FIR2IR: add repro for KT-57441

This commit is contained in:
Mikhail Glukhikh
2023-03-22 14:06:27 +01:00
committed by Space Team
parent d6a9bca5ec
commit d3f1571d35
10 changed files with 231 additions and 0 deletions
@@ -0,0 +1,52 @@
class Wrapper {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
private val dummy: <no name provided>
field = { // BLOCK
local class <no name provided> : Bar {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
<no name provided>()
}
private get
private val bar: <no name provided>
field = { // BLOCK
local class <no name provided> : Bar {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
private /* final field */ val $$delegate_0: <no name provided> = <this>.<get-dummy>()
override val foo: String
override get(): String {
return <this>.#$$delegate_0.<get-foo>()
}
}
<no name provided>()
}
private get
}
interface Bar {
val foo: String
get(): String {
return ""
}
}