Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
smartCasts
/
ifExprInConditionNonNull.kt
blob: 1d09b12170f3fc784fe6df32e1a372d65584f058 [
file
]
fun baz
(
s
:
String
?,
b
:
Boolean
?):
String
{
val t
=
if
(
if
(
b
==
null
)
return
""
else
<!
DEBUG_INFO_SMARTCAST
!>
b
<!>)
{
if
(
s
==
null
)
return
""
<!
DEBUG_INFO_SMARTCAST
!>
s
<!>
}
else
{
if
(
s
!=
null
)
return
<!
DEBUG_INFO_SMARTCAST
!>
s
<!>
""
}
return
t
}