Migrate testdata to new lambda syntax
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
package foo
|
||||
|
||||
fun box(): Boolean {
|
||||
val v1 = {(x: Int) -> x}(2)
|
||||
val v1 = { x: Int -> x}(2)
|
||||
|
||||
val f = {(x: Int) -> x}
|
||||
val f = { x: Int -> x}
|
||||
val v2 = (f)(2)
|
||||
|
||||
return v1 == 2 && v2 == 2
|
||||
|
||||
Reference in New Issue
Block a user