lua-users home
lua-l archive

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


> In Lua, "function f() end" is just sugar for "f = function() end". They both produce exactly the same code:

I'm wondering now how debug.traceback computes names of functions. Does it scan bindings from _G (but not locals within functions)?