J2K: preserving line breaks between arguments
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class F {
|
||||
void f1(int p1, int p2, int p3, int p4, int... p5) {
|
||||
}
|
||||
|
||||
void f2(int[] array) {
|
||||
f1(1, 2,
|
||||
3, 4,
|
||||
array);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
class F {
|
||||
fun f1(p1: Int, p2: Int, p3: Int, p4: Int, vararg p5: Int) {
|
||||
}
|
||||
|
||||
fun f2(array: IntArray) {
|
||||
f1(1, 2,
|
||||
3, 4,
|
||||
*array)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
class C {
|
||||
C(int p1, int p2, int p3){}
|
||||
}
|
||||
|
||||
class User {
|
||||
void foo() {
|
||||
new C(1,
|
||||
2,
|
||||
3);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
class C(p1: Int, p2: Int, p3: Int)
|
||||
|
||||
class User {
|
||||
fun foo() {
|
||||
C(1,
|
||||
2,
|
||||
3)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user