[IR] dumpKotlinLike: add testdata for FIR tests
This commit is contained in:
committed by
teamcityserver
parent
d7bd4240e1
commit
c68040753d
@@ -0,0 +1,32 @@
|
||||
open class Base {
|
||||
constructor(f1: Function0<Any>) /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
val f1: Function0<Any>
|
||||
field = f1
|
||||
get
|
||||
|
||||
}
|
||||
|
||||
object Thing : Base {
|
||||
private constructor() /* primary */ {
|
||||
super/*Base*/(f1 = local fun <anonymous>(): Any {
|
||||
return Thing
|
||||
}
|
||||
)
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
fun test1(): Thing {
|
||||
return Thing
|
||||
}
|
||||
|
||||
fun test2(): Thing {
|
||||
return <this>
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user