Corrected test data
This commit is contained in:
Vendored
+1
-1
@@ -15,4 +15,4 @@ fun foo(n: Int): Int {
|
||||
return bar()
|
||||
}
|
||||
|
||||
private fun i(baz: (Int) -> Int, n: Int) = baz(n + 1)
|
||||
private fun i(baz: (m: Int) -> Int, n: Int) = baz(n + 1)
|
||||
Vendored
+1
-1
@@ -9,4 +9,4 @@ fun foo(n: Int): Int {
|
||||
return i(Int::bar, n)
|
||||
}
|
||||
|
||||
private fun i(bar: Int.(Int) -> Int, n: Int) = n.bar(n + 1)
|
||||
private fun i(bar: Int.(m: Int) -> Int, n: Int) = n.bar(n + 1)
|
||||
+1
-1
@@ -12,4 +12,4 @@ fun foo(n: Int): Int {
|
||||
return i(Int::bar1, Int::bar2, n)
|
||||
}
|
||||
|
||||
private fun i(bar1: Int.(Int) -> Int, bar2: Int.(Int) -> Int, n: Int) = n.bar1(n + 1).bar2(n + 2)
|
||||
private fun i(bar1: Int.(m: Int) -> Int, bar2: Int.(m: Int) -> Int, n: Int) = n.bar1(n + 1).bar2(n + 2)
|
||||
+1
-1
@@ -9,4 +9,4 @@ fun foo(n: Int): Int {
|
||||
return i(Int::bar, n)
|
||||
}
|
||||
|
||||
private fun i(bar: Int.(Int) -> Int, n: Int) = n bar (n + 1)
|
||||
private fun i(bar: Int.(m: Int) -> Int, n: Int) = n bar (n + 1)
|
||||
+1
-1
@@ -9,4 +9,4 @@ fun foo(n: Int): Int {
|
||||
return i(::bar, n)
|
||||
}
|
||||
|
||||
private fun i(bar: (Int) -> Int, n: Int) = bar(n + 1)
|
||||
private fun i(bar: (m: Int) -> Int, n: Int) = bar(n + 1)
|
||||
Reference in New Issue
Block a user