lua-users home
lua-l archive

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

Soon (today?) we will release Lua 5.1 work 2. The main change from w1 is
the fix of the GC bug related by Adam D. Moss (and fixed with his help).
It also has the fix of the '...' bug (that already had a patch).

(... bug:
(GC bug:

Work 2 also has some changes in the C API to coroutines. The most visible
change is that now we can trace back a coroutine after an error:

  function f () a=a+1 end
  function g () f() end
  c = coroutine.create(function () g() end)
  _,msg = coroutine.resume(c)
  print(debug.traceback(c, msg))

(This is not finished yet.)

-- Roberto