fun foo() { val v: (Int) -> Unit = { if (it <= 1) { } else { bar() } } } fun bar(){}