lua-users home
lua-l archive

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


> I found a minor bug in error message of table.remove().
> 
> If you do
> 
> > a = {1}
> > table.remove(a, 10)
> 
> you get
> 
> > stdin:1: bad argument #1 to 'remove' (position out of bounds)
> 
> But 'bad argument' is actually #2, not #1.

Thanks for the feedback.

-- Roberto