Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
dataFlowInfoTraversal
/
FunctionLiteral.fir.kt
blob: 1ea15be97b553dd50f38c4737767991629132a45 [
file
]
fun bar
(
x
:
Int
)
=
x
+
1
fun foo
()
{
val x
:
Int
?
=
null
fun baz
()
=
bar
(<!
ARGUMENT_TYPE_MISMATCH
!>
x
<!>)
fun quux
()
=
if
(
x
!=
null
)
bar
(
x
)
else
baz
()
fun quuux
()
=
bar
(
if
(
x
==
null
)
0
else
x
)
}