Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/localDelegatedPropertiesWithAnnotations.kt.txt
T
2021-09-23 06:59:33 +00:00

26 lines
456 B
Kotlin
Vendored

open annotation class A : Annotation {
constructor(x: String) /* primary */ {
super/*Any*/()
/* <init>() */
}
val x: String
field = x
get
}
fun foo(m: Map<String, Int>) {
@A(x = "foo/test")
val test: Int
val test$delegate: Lazy<Int> = lazy<Int>(initializer = local fun <anonymous>(): Int {
return 42
}
)
local get(): Int {
return test$delegate.getValue<Int>(thisRef = null, property = ::test)
}
}