Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6330def4271b547b5c7db5f9759e387de2908e94
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
smartCasts
/
smartCastOnLastExpressionOfLambdaAfterNothing.fir.kt
blob: 82414b8ec42d7efc849fbb11a38316fda01145d6 [
file
]
// !DIAGNOSTICS: -UNUSED_PARAMETER
class
Inv
<
T
>
fun
<
T
>
foo
(
f
:
()
->
T
):
Inv
<
T
>
=
TODO
()
fun myExit
():
Nothing
=
TODO
()
fun test
(
x
:
String
?):
Inv
<
String
>
{
return
foo
{
if
(
x
==
null
)
myExit
()
x
}
}