lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> One more thing -- I haven't had time to make sure of this,
> so pardon me if I'm wrong, but at first glance it looks like
> getbinhandler, len_event, and unm_event still don't reflect
> the fact that call_binTM only calls a metamethod if it's a
> function.  (This was mentioned in a private message to the
> Lua team on 2007-09-07.)

I guess the correction here is to allow call_binTM to call other values
as metamethods as well. This is already the behavior of order and gc
events. (settable/gettable have special needs; __call also demands
a function, but again we can argue that is has special needs.)

-- Roberto