Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
4f8dad3e4ba00e23b4182ef4c50194b20bd43c8f
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
dataFlowInfoTraversal
/
DoWhile.fir.kt
blob: 340e88326c923be5810e856c7a1c343f302d7168 [
file
]
fun bar
(
x
:
Int
):
Int
=
x
+
1
fun foo
()
{
val x
:
Int
?
=
null
do
{
bar
(<!
ARGUMENT_TYPE_MISMATCH
!>
x
<!>)
}
while
(
x
==
null
)
bar
(
x
)
val y
:
Int
?
=
null
do
{
bar
(<!
ARGUMENT_TYPE_MISMATCH
!>
y
<!>)
}
while
(
y
!=
null
)
bar
(<!
ARGUMENT_TYPE_MISMATCH
!>
y
<!>)
}