TrailingComma: fix case of when without expression or property

#KT-34744
#KT-36393 Fixed
This commit is contained in:
Dmitry Gridin
2020-02-06 19:04:44 +07:00
parent 6739d03823
commit cb66625688
5 changed files with 4 additions and 38 deletions
@@ -70,7 +70,7 @@ fun foo(x: Any) {
}
when {
x in coll,
x in coll
-> {
}