fun foo() { val x = fun(s: String) {} fun nested() { val x = fun(i: Int) {} x(10) } }