J2K: preserving line breaks between arguments

This commit is contained in:
Valentin Kipyatkov
2015-06-16 14:01:38 +03:00
parent fefb828fae
commit 40fe680acf
7 changed files with 76 additions and 6 deletions
@@ -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)
}
}