lua-users home
lua-l archive

Re: [ANN] Lua 5.2.2 (rc2) now available

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


I am very pleased my posting on table.insert and table.remove:
 http://lua-users.org/lists/lua-l/2013-01/msg00442.html
has been acted upon, however examining the rc2 source code, should not the
upper boundary for table.remove be 'aux_getn()' rather than 'aux_getn()+1'?
Mostly it will not matter since that value will be nil anyway, but it could
cause problems in some scenarios where there is a __len metamethod.

AltStyle によって変換されたページ (->オリジナル) /