Syntax fixed
This commit is contained in:
@@ -3,6 +3,6 @@ fun box() : String {
|
||||
return if (sum(200, { val ff = {cl}; ff() }) == 239) "OK" else "FAIL"
|
||||
}
|
||||
|
||||
fun sum(arg:Int, f : {() : Int}) : Int {
|
||||
fun sum(arg:Int, f : fun () : Int) : Int {
|
||||
return arg + f()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user