lua-users home
lua-l archive

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


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.