[IR] add testdata for dumpKotlinLike
This commit is contained in:
committed by
teamcityserver
parent
d2022ab115
commit
8d5facb15f
+38
@@ -0,0 +1,38 @@
|
||||
package test
|
||||
|
||||
object Foo {
|
||||
private constructor() /* primary */ {
|
||||
TODO("IrDelegatingConstructorCall")
|
||||
/* InstanceInitializerCall */
|
||||
|
||||
}
|
||||
|
||||
val a: String
|
||||
field = ""
|
||||
get
|
||||
|
||||
fun foo(): String {
|
||||
return ""
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
val test1: KProperty0<String>
|
||||
field = ::a
|
||||
get
|
||||
|
||||
val test1a: KProperty0<String>
|
||||
field = ::a
|
||||
get
|
||||
|
||||
val test2: KFunction0<String>
|
||||
field = ::foo
|
||||
get
|
||||
|
||||
val test2a: KFunction0<String>
|
||||
field = ::foo
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user