[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaJIT2 beta6: a little mess in error backtrace
- From: Pierre-Yves Gérardy <pygy79@...>
- Date: Mon, 14 Mar 2011 19:20:52 +0100
On Mon, Mar 14, 2011 at 16:47, Arseny Vakhrushev
>> 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.