interface T { val foo: Int } val f = fun T.(): Int { return foo }