Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6330def4271b547b5c7db5f9759e387de2908e94
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
dataFlowInfoTraversal
/
When.fir.kt
blob: 06b49dbf4d5e316f4a34c15570577d1467d5ae23 [
file
] [
log
] [
blame
]
fun bar
(
x
:
Int
):
Int
=
x
+
1
fun foo
()
{
val x
:
Int
?
=
null
if
(
x
!=
null
)
{
when
(
x
)
{
0
->
bar
(
x
)
else
->
{}
}
}
when
(
x
)
{
0
->
{
if
(<!
SENSELESS_COMPARISON
!>
x
==
null
<!>)
return
}
else
->
{
if
(
x
==
null
)
return
}
}
bar
(
x
)
}