Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ba045e44fbc13a4a8bcfa03689115fd0a25366a9
/
.
/
idea
/
testData
/
quickfix
/
when
/
addElseBranchEnumStatement.kt.after
blob: 38e5805593ce49bf7a5d93aa215bdc1be2ae51b0 [
file
] [
log
] [
blame
]
// "Add else branch" "true"
enum
class
Color
{
R
,
G
,
B
}
fun
use
(
c
:
Color
)
{
when
(
c
)
{
Color
.
R
->
red
()
else
->
{
}
}
}
fun red
()
{}