Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
145b5051f737bcd07fb6d5440a722cea8ba3f98c
/
.
/
compiler
/
testData
/
codegen
/
box
/
controlStructures
/
kt3273.kt
blob: 187dc50ecf8c92ac02231522c1a8d0ba2b219d16 [
file
]
fun printlnMock
(
a
:
Any
)
{}
public
fun testCoalesce
()
{
val value
:
String
=
when
{
true
->
{
if
(
true
)
{
"foo"
}
else
{
"bar"
}
}
else
->
"Hello world"
}
printlnMock
(
value
.
length
)
}
fun box
():
String
{
testCoalesce
()
return
"OK"
}