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