lua-users home
lua-l archive

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


Hi Eduardo,

On 22 October 2017 at 00:50, Eduardo Ochs <eduardoochs@gmail.com> wrote:
>> Functions in Lua are values stored in variables; in particular functions do not have names
>
> Tracebacks can sometimes determine, or guess, function names. I think
> I never saw a description in english of the algorithm that is used for
> that, though...
>

Tracebacks (and the debug API) show the name of the variable that
referenced the function.

Regards