[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [Lua5.2] __len meta-method has two operand?
- From: Xavier Wang <weasley.wx@...>
- Date: Thu, 13 Oct 2011 16:27:33 +0800
2011/10/13 Patrick Rapin <email@example.com>:
> This is not a bug, but a optimization feature.
> It has already be discussed in that thread 
> The answer from Roberto  is that this hack enables to use the same
> machinery for all metamethods.
>  http://lua-users.org/lists/lua-l/2010-10/msg00783.html
>  http://lua-users.org/lists/lua-l/2010-10/msg00799.html
Okay, anyway :(
I have modified my code to support this undocumented 'feature'.