Re: Incorrect behaviour between tables in luajit and lua

  • From: Craig Barnes <craigbarnes85@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Mon, 20 Oct 2014 22:01:13 +0100

On 20 October 2014 21:41, Eduardo Barthel <edub4rt@xxxxxxxxx> wrote:
> I see that unpack uses the length operator again, but shouldn't luajit
> behave like lua in such cases?

Nope. You should just never use the length operator or unpack on
tables with holes.

Other related posts: