obj ob(k: K) { fn foo(it: block(~{a: K})) { it(~{a: k}); } } fn x(o: ob) { o.foo() {|_i|}; } fn main() { let o = ob::("hi" + "there"); x(o); }