lua-users home
lua-l archive

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


> Am I missing something or is this "impossible"?
> [...]
> xpcall(func, err, ...)

Currently you need a closure:

  xpcall(function () func(...) end, err)


> Would it be possible in a future version of Lua [...]

Yes.

-- Roberto