Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6330def4271b547b5c7db5f9759e387de2908e94
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
dataFlowInfoTraversal
/
TryCatch.fir.kt
blob: 3c6cce525eb85879b2e2ce35b688761681e8f2c7 [
file
] [
log
] [
blame
]
fun bar
(
x
:
Int
):
Int
=
x
+
1
fun foo
()
{
val x
:
Int
?
=
null
bar
(<!
ARGUMENT_TYPE_MISMATCH
!>
x
<!>)
if
(
x
==
null
)
return
try
{
bar
(
x
)
}
catch
(
e
:
Exception
)
{
bar
(
x
)
}
bar
(
x
)
}