"Add else branch" on when quickfix: don't add braces #KT-5088 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
f22133be7e
commit
57ae60e9dc
@@ -3,8 +3,7 @@ enum class Color { R, G, B }
|
||||
fun use(c: Color) {
|
||||
when (c) {
|
||||
Color.R -> red()
|
||||
else -> {
|
||||
}
|
||||
else -> <caret>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user