interface Foo { operator fun invoke(t: T) } fun test(f: Foo) { f("") }