[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.1.2-rc1 now available
- From: roberto@... (Roberto Ierusalimschy)
- Date: Sun, 25 Mar 2007 20:49:30 -0300
> 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