Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
b32f408767cf86efaa65eb02699fe00bd61d99a6
/
.
/
compiler
/
testData
/
codegen
/
box
/
when
/
noElseExhaustiveUnitExpected.kt
blob: 2c69069abacc1070676dfcf40698714c55c21b0c [
file
]
enum
class
En
{
A
,
B
}
fun box
():
String
{
val u
:
Unit
=
when
(
En
.
A
)
{
En
.
A
->
{}
En
.
B
->
{}
}
return
"OK"
}