Re: luajit table.move not working

  • From: demetri <demetri.spanos@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sat, 11 Jul 2015 17:52:59 -0700


table.move(a, 1, #a, 1 ,t)


This is a Lua 5.3 feature. LuaJIT provides only partial support
for language features beyond Lua 5.1 (in addition to its own
extensions).

You may find a compatibility library useful. I found this one
from the Kepler project, but have not tried it myself:

https://github.com/keplerproject/lua-compat-5.3

Demetri

Other related posts: