Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/localDelegatedPropertiesWithAnnotations.kt.txt
T

22 lines
407 B
Plaintext
Vendored

annotation class A : Annotation {
constructor(x: String) /* primary */
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)
}
}