TrailingCommaPostFormatProcessor: should be completed in one round
#KT-34744
This commit is contained in:
+6
-6
@@ -17,6 +17,10 @@ fun main() {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (y: Comparable<Comparable<Number>>, z: Iterable<Iterable<Number>>) -> Int = {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (
|
||||
y: Comparable<Comparable<Number>>, z: Iterable<Iterable<Number>>,
|
||||
) -> Int = {
|
||||
@@ -27,9 +31,7 @@ fun main() {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (
|
||||
y: Comparable<Comparable<Number>>,
|
||||
) -> Int = {
|
||||
val x: (y: Comparable<Comparable<Number>>) -> Int = {
|
||||
10
|
||||
}
|
||||
|
||||
@@ -69,9 +71,7 @@ fun main() {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (
|
||||
y: Comparable<Comparable<Number>>,/**/
|
||||
) -> Int = {
|
||||
val x: (y: Comparable<Comparable<Number>>/**/) -> Int = {
|
||||
10
|
||||
}
|
||||
|
||||
|
||||
+6
-6
@@ -17,6 +17,10 @@ fun main() {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (y: Comparable<Comparable<Number>>, z: Iterable<Iterable<Number>>) -> Int = {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (
|
||||
y: Comparable<Comparable<Number>>, z: Iterable<Iterable<Number>>,
|
||||
) -> Int = {
|
||||
@@ -27,9 +31,7 @@ fun main() {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (
|
||||
y: Comparable<Comparable<Number>>,
|
||||
) -> Int = {
|
||||
val x: (y: Comparable<Comparable<Number>>) -> Int = {
|
||||
10
|
||||
}
|
||||
|
||||
@@ -73,9 +75,7 @@ fun main() {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (
|
||||
y: Comparable<Comparable<Number>>,/**/
|
||||
) -> Int = {
|
||||
val x: (y: Comparable<Comparable<Number>>/**/) -> Int = {
|
||||
10
|
||||
}
|
||||
|
||||
|
||||
+5
@@ -21,6 +21,11 @@ fun main() {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (y: Comparable<Comparable<Number>>, z: Iterable<Iterable<Number>>,
|
||||
) -> Int = {
|
||||
10
|
||||
}
|
||||
|
||||
val x: (y: Comparable<Comparable<Number>>) -> Int = {
|
||||
10
|
||||
}
|
||||
|
||||
Vendored
+3
-9
@@ -117,9 +117,7 @@ class D2 {
|
||||
class A3 {
|
||||
val x: String
|
||||
|
||||
constructor(
|
||||
x: String,
|
||||
) {
|
||||
constructor(x: String) {
|
||||
this.x = x
|
||||
}
|
||||
}
|
||||
@@ -306,15 +304,11 @@ val foo5: (Int) -> Int = fun(
|
||||
x
|
||||
): Int = 42
|
||||
|
||||
val foo6: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
val foo6: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo7: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo8: (Int, Int, Int) -> Int = fun(
|
||||
x, y: Int, z,
|
||||
): Int {
|
||||
val foo8: (Int, Int, Int) -> Int = fun(x, y: Int, z): Int {
|
||||
return x + y
|
||||
}
|
||||
|
||||
|
||||
+3
-9
@@ -117,9 +117,7 @@ class D2 {
|
||||
class A3 {
|
||||
val x: String
|
||||
|
||||
constructor(
|
||||
x: String,
|
||||
) {
|
||||
constructor(x: String) {
|
||||
this.x = x
|
||||
}
|
||||
}
|
||||
@@ -309,15 +307,11 @@ val foo5: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
|
||||
val foo6: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
val foo6: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo7: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo8: (Int, Int, Int) -> Int = fun(
|
||||
x, y: Int, z,
|
||||
): Int {
|
||||
val foo8: (Int, Int, Int) -> Int = fun(x, y: Int, z): Int {
|
||||
return x + y
|
||||
}
|
||||
|
||||
|
||||
+3
-9
@@ -117,9 +117,7 @@ class D2 {
|
||||
class A3 {
|
||||
val x: String
|
||||
|
||||
constructor(
|
||||
x: String,
|
||||
) {
|
||||
constructor(x: String) {
|
||||
this.x = x
|
||||
}
|
||||
}
|
||||
@@ -306,15 +304,11 @@ val foo5: (Int) -> Int = fun(
|
||||
x
|
||||
): Int = 42
|
||||
|
||||
val foo6: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
val foo6: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo7: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo8: (Int, Int, Int) -> Int = fun(
|
||||
x, y: Int, z,
|
||||
): Int {
|
||||
val foo8: (Int, Int, Int) -> Int = fun(x, y: Int, z): Int {
|
||||
return x + y
|
||||
}
|
||||
|
||||
|
||||
+3
-9
@@ -117,9 +117,7 @@ class D2 {
|
||||
class A3 {
|
||||
val x: String
|
||||
|
||||
constructor(
|
||||
x: String,
|
||||
) {
|
||||
constructor(x: String) {
|
||||
this.x = x
|
||||
}
|
||||
}
|
||||
@@ -309,15 +307,11 @@ val foo5: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
|
||||
val foo6: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
val foo6: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo7: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo8: (Int, Int, Int) -> Int = fun(
|
||||
x, y: Int, z,
|
||||
): Int {
|
||||
val foo8: (Int, Int, Int) -> Int = fun(x, y: Int, z): Int {
|
||||
return x + y
|
||||
}
|
||||
|
||||
|
||||
+2
-6
@@ -117,9 +117,7 @@ class D2 {
|
||||
class A3 {
|
||||
val x: String
|
||||
|
||||
constructor(
|
||||
x: String,
|
||||
) {
|
||||
constructor(x: String) {
|
||||
this.x = x
|
||||
}
|
||||
}
|
||||
@@ -315,9 +313,7 @@ val foo5: (Int) -> Int = fun(
|
||||
x
|
||||
): Int = 42
|
||||
|
||||
val foo6: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
val foo6: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo7: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
|
||||
+2
-6
@@ -117,9 +117,7 @@ class D2 {
|
||||
class A3 {
|
||||
val x: String
|
||||
|
||||
constructor(
|
||||
x: String,
|
||||
) {
|
||||
constructor(x: String) {
|
||||
this.x = x
|
||||
}
|
||||
}
|
||||
@@ -316,9 +314,7 @@ val foo5: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
|
||||
val foo6: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
val foo6: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo7: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
|
||||
Vendored
+3
-9
@@ -117,9 +117,7 @@ class D2 {
|
||||
class A3 {
|
||||
val x: String
|
||||
|
||||
constructor(
|
||||
x: String,
|
||||
) {
|
||||
constructor(x: String) {
|
||||
this.x = x
|
||||
}
|
||||
}
|
||||
@@ -306,15 +304,11 @@ val foo5: (Int) -> Int = fun(
|
||||
x
|
||||
): Int = 42
|
||||
|
||||
val foo6: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
val foo6: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo7: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo8: (Int, Int, Int) -> Int = fun(
|
||||
x, y: Int, z,
|
||||
): Int {
|
||||
val foo8: (Int, Int, Int) -> Int = fun(x, y: Int, z): Int {
|
||||
return x + y
|
||||
}
|
||||
|
||||
|
||||
+3
-9
@@ -117,9 +117,7 @@ class D2 {
|
||||
class A3 {
|
||||
val x: String
|
||||
|
||||
constructor(
|
||||
x: String,
|
||||
) {
|
||||
constructor(x: String) {
|
||||
this.x = x
|
||||
}
|
||||
}
|
||||
@@ -309,15 +307,11 @@ val foo5: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
|
||||
val foo6: (Int) -> Int = fun(
|
||||
x,
|
||||
): Int = 42
|
||||
val foo6: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo7: (Int) -> Int = fun(x): Int = 42
|
||||
|
||||
val foo8: (Int, Int, Int) -> Int = fun(
|
||||
x, y: Int, z,
|
||||
): Int {
|
||||
val foo8: (Int, Int, Int) -> Int = fun(x, y: Int, z): Int {
|
||||
return x + y
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user