lua-users home
lua-l archive

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


On Mon, Mar 14, 2011 at 16:47, Arseny Vakhrushev
<arseny.vakhrushev@gmail.com> wrote:
>> lua: test.lua:2: bad argument #1 to 'foo' (number expected, got no value)
>> stack traceback:
>>       [C]: in function 'foo'        <---- no mention of math.sin!
>>       test.lua:2: in main chunk
>>       [C]: ?
Mentioning in the trace that one or more tail calls occurred may be
useful. Counting them would be better, debug-wise, but it would
probably be bad performance-wise.

-- Pierre-Yves