Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
testsWithStdLib
/
smartcasts
/
lazyDeclaresAndModifies.fir.kt
blob: 7536bd51c834ea21203a16d12eb011645355bd3e [
file
]
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
}
}