"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
@@ -4,7 +4,6 @@ fun test() {
|
||||
val x = when (a) {
|
||||
in 0..11 -> { /* some code */ }
|
||||
12, 13, 14 -> { /* some code */ }
|
||||
else -> {<caret>
|
||||
}
|
||||
else -> <caret>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user