Join lines should remove useless trailing commas

#KT-39065 Fixed
This commit is contained in:
Dmitry Gridin
2020-05-22 19:19:26 +07:00
parent e4a9679ec2
commit 10462c31d2
6 changed files with 20 additions and 11 deletions
@@ -1,3 +1,3 @@
fun a() {
b(1, 3, 2424,<caret> awdawd,)
b(1, 3, 2424, awdawd<caret>)
}
+1 -1
View File
@@ -1,4 +1,4 @@
fun a() {
<caret>g[1, 2, 3,/**/
<caret> g[1, 2, 3,/**/
]
}
@@ -1,3 +1,3 @@
fun a() {
g[1, 2, 3,/**/<caret>]
g[1, 2, 3/**/<caret>]
}
@@ -1,2 +1,2 @@
@Anno([1, 2, 3,<caret> ])
@Anno([1, 2, 3]<caret>)
class A
@@ -1,3 +1,3 @@
fun a() {
b<Int,<caret> >()
b<Int<caret>>()
}