blob: f4c0640c7aba1b757bd723754aa6736c75289a1d [file] [log] [blame]
fun foo(f: (Int) -> Int) = f(0)
class Outer {
class Nested {
val y = foo { a -> a }
}
fun bar(): String {
val a = Nested()
return "OK"
}
}
fun box() = Outer().bar()