Change Signature: Do not insert new-lines between parameters (to be fixed later at the formatter level)

This commit is contained in:
Alexey Sedunov
2014-11-24 19:40:53 +03:00
parent 57cb125ab8
commit c6541ccc6f
30 changed files with 48 additions and 102 deletions
@@ -1,6 +1,5 @@
// "Create parameter 'foo'" "true"
fun test(n: Int,
foo: Int) {
fun test(n: Int, foo: Int) {
val t: Int = foo
}
@@ -1,8 +1,7 @@
// "Create parameter 'foo'" "true"
class A {
fun test(n: Int,
foo: Int) {
fun test(n: Int, foo: Int) {
val t: Int = foo
}
}
@@ -1,8 +1,7 @@
// "Create parameter 'foo'" "true"
class A<T> {
fun test(n: Int,
foo: T) {
fun test(n: Int, foo: T) {
val t: T = foo
}
}
@@ -1,8 +1,7 @@
// "Create parameter 'foo'" "true"
class A {
fun test<T>(n: Int,
foo: T) {
fun test<T>(n: Int, foo: T) {
val t: T = foo
}
}
@@ -1,8 +1,7 @@
// "Create parameter 'foo'" "true"
class A<T> {
fun test<T>(n: Int,
foo: T) {
fun test<T>(n: Int, foo: T) {
val t: T = foo
}
}
@@ -1,7 +1,6 @@
// "Create parameter 'foo'" "true"
// ACTION: Create local variable 'foo'
fun test(n: Int,
foo: Int) {
fun test(n: Int, foo: Int) {
val f: () -> Int = { foo }
}
@@ -1,7 +1,6 @@
// "Create parameter 'foo'" "true"
// ACTION: Create local variable 'foo'
fun test(n: Int,
foo: Int) {
fun test(n: Int, foo: Int) {
val f: (Int) -> Int = { foo }
}
@@ -1,7 +1,6 @@
// "Create parameter 'foo'" "true"
// ACTION: Create local variable 'foo'
fun test(n: Int,
foo: Int) {
fun test(n: Int, foo: Int) {
val f: (Int, Int) -> Int = { (a, b) -> foo }
}
@@ -1,7 +1,6 @@
// "Create parameter 'foo'" "true"
// ACTION: Create local variable 'foo'
fun test(n: Int,
foo: Any) {
fun test(n: Int, foo: Any) {
val f = { (a: Int, b: Int) -> foo }
}
@@ -1,8 +1,7 @@
// "Create parameter 'foo'" "true"
// ACTION: Create local variable 'foo'
fun test(n: Int,
foo: Int) {
fun test(n: Int, foo: Int) {
val f: () -> Int = {
foo
}
@@ -1,6 +1,5 @@
// "Create parameter 'foo'" "true"
fun test(n: Int,
foo: Int?) {
fun test(n: Int, foo: Int?) {
val t: Int? = foo
}
@@ -2,7 +2,6 @@
package foo
fun test(n: Int,
foo: Int) {
fun test(n: Int, foo: Int) {
val t: Int = foo
}