Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0c35e97a8dc1b95945d4b0bc57de45a0550682bc
/
.
/
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
}
}