[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [Lua5.2] __len meta-method has two operand?
- From: Xavier Wang <weasley.wx@...>
- Date: Thu, 13 Oct 2011 11:44:48 +0800
Hi list :)
I had notice a incompatible with Lua5.1 and Lua5.2-beta, that is in
Lua 5.2 beta, the __len meta-method has two operand! though they are
the same one (the userdata I used # operator), but it breaks me using
same function in other situation. Is this behavior has some reason or
is it a bug?
thx.