blob: 935a408ee5f2adbef318ec830b37f43c4323765a [file]
// RUN_PIPELINE_TILL: BACKEND
//val x = lazy { "Hello" }.getValue(null, throw null)
val x by lazy { "Hello" }
fun foo() {
x.length
val y by lazy { "Bye" }
y.length
}
class Some {
val z by lazy { "Some" }
fun foo() {
z.length
}
}
/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, lambdaLiteral, localProperty, nullableType,
propertyDeclaration, propertyDelegate, stringLiteral */