Files
kotlin-fork/compiler/testData/ir/irText/firProblems/FakeOverrideInAnonymousWithDelegation.fir.kt.txt
T
2024-02-16 10:19:38 +00:00

54 lines
934 B
Kotlin
Vendored

class Wrapper {
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 {
private /* final field */ val $$delegate_0: <no name provided> = <this>.<get-dummy>()
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
override val foo: String
override get(): String {
return <this>.#$$delegate_0.<get-foo>()
}
}
<no name provided>()
}
private get
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
interface Bar {
val foo: String
get(): String {
return ""
}
}