Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
5e49b472f81ed95098eec9749aa2ad0415fac731
/
.
/
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
)
{}
}
}