var global : () -> Unit = {} val Int.ext : () -> Unit get() { return {} } fun foo(a : () -> Unit) { a() global() 1.ext() }