Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
controlStructures
/
ifInResultOfLambda.kt
blob: 3171883e5abaa41156424a024dbea4c18c9b0a2c [
file
]
// FIR_IDENTICAL
// NI_EXPECTED_FILE
val test1
=
{
if
(
true
)
1
else
""
}
val test2
=
{
{
if
(
true
)
1
else
""
}
}
val test3
:
(
Boolean
)
->
Any
=
{
if
(
it
)
1
else
""
}
val test4
:
(
Boolean
)
->
Any
?
=
{
if
(
it
)
1
else
""
}