Formatter: support trailing comma in when entry

#KT-34744
This commit is contained in:
Dmitry Gridin
2019-12-27 18:04:51 +07:00
parent 4adfaab3ec
commit d013fc2234
9 changed files with 307 additions and 25 deletions
+3 -3
View File
@@ -39,16 +39,16 @@ fun some(x: Any) {
}
when (x) {
is
Int
Int,
-> {
0
}
3
3,
-> {
2
}
in
0..3
0..3,
-> {
2
}