Change Signature: Fix processing of lambda arguments
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
fun foo(x: Int, cl: () -> Int): Int {
|
||||
return x + cl()
|
||||
}
|
||||
|
||||
fun bar() {
|
||||
foo(1) {
|
||||
3
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user