Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
nullabilityAndSmartCasts
/
smartCastsAndBooleanExpressions.kt
blob: 58c2896714ad10ef38fd9f8fceed12710c84df3b [
file
]
fun foo
(
b
:
Boolean
?,
c
:
Boolean
)
{
if
(
b
!=
null
&&
<!
DEBUG_INFO_SMARTCAST
!>
b
<!>)
{}
if
(
b
==
null
||
<!
DEBUG_INFO_SMARTCAST
!>
b
<!>)
{}
if
(
b
!=
null
)
{
if
(<!
DEBUG_INFO_SMARTCAST
!>
b
<!>
&&
c
)
{}
if
(<!
DEBUG_INFO_SMARTCAST
!>
b
<!>
||
c
)
{}
}
}