Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
smartCasts
/
whenIfExprNonNull.fir.kt
blob: 36f60e69c1e67401202022e0c2a68b0c2bc02778 [
file
]
fun baz
(
s
:
String
?,
u
:
String
?):
String
{
val t
=
when
(
s
)
{
is
String
->
{
if
(
u
==
null
)
return
s
u
}
else
->
{
if
(
u
==
null
)
return
""
u
}
}
return
t
}