blob: 899b4b911f3dffeb4f95b6eceee05c91e7fdb001 [file]
//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
}
}