Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
e1e07d20949869a38f2fc0b6ceeea1235721f07f
/
.
/
compiler
/
testData
/
diagnostics
/
testsWithStdLib
/
elvisOnUnitInLet.kt
blob: e8fa491c355bb9feb7f16ee8c75047140db94560 [
file
]
// FIR_IDENTICAL
fun foo
(
x
:
Int
?)
{
// Both parts of the Elvis should be alive, see KT-7936
x
?.
let
{
smth
()
}?:
orElse
()
}
fun smth
()
{}
fun orElse
()
{}