Migrate testdata to new lambda syntax
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
fun test1(): Int {
|
||||
return calc( {(l : Int) -> 2*l}, {(l : Int) -> 4*l})
|
||||
return calc( { l: Int -> 2*l}, { l: Int -> 4*l})
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
fun test1(): Int {
|
||||
val inlineX = Inline()
|
||||
var p = {(l : Int) -> l};
|
||||
var p = { l : Int -> l};
|
||||
return inlineX.calc(p, 25)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user