blob: da30652e7f9449e47a08bd5f59de780886323fe5 [file]
// RUN_PIPELINE_TILL: BACKEND
class My(val x: Int?) {
val y: Int? by lazy {
var z = x
while (z != null) {
z = z.hashCode()
if (z < 0) return@lazy z
if (z == 0) z = null
}
return@lazy null
}
}
/* GENERATED_FIR_TAGS: assignment, classDeclaration, comparisonExpression, equalityExpression, ifExpression,
integerLiteral, lambdaLiteral, localProperty, nullableType, primaryConstructor, propertyDeclaration, propertyDelegate,
smartcast, whileLoop */