Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/localDelegatedPropertiesWithAnnotations.kt.txt
T
2020-11-26 00:14:03 +03:00

26 lines
417 B
Plaintext
Vendored

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