Change Signature: Do not insert new-lines between parameters (to be fixed later at the formatter level)
This commit is contained in:
@@ -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
-2
@@ -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
-2
@@ -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
-2
@@ -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
-2
@@ -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
-2
@@ -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
-2
@@ -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
-2
@@ -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
-2
@@ -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
-2
@@ -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
-2
@@ -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
-2
@@ -2,7 +2,6 @@
|
||||
|
||||
package foo
|
||||
|
||||
fun test(n: Int,
|
||||
foo: Int) {
|
||||
fun test(n: Int, foo: Int) {
|
||||
val t: Int = foo
|
||||
}
|
||||
Reference in New Issue
Block a user