Re: confusing error message

  • From: Pierre-Yves Gérardy <pygy79@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Thu, 2 Aug 2012 23:39:43 +0200

On Thu, Aug 2, 2012 at 11:17 PM, Mike Pall <mike-1208@xxxxxxxxxx> wrote:
> Tail calls in Lua overwrite the callers frame. This is a feature
> and not an optimization.

Wouldn't it be possible to mark a frame when a tail call occurs, and
report the fact that at least one tail call happened at that point?

-- Pierre-Yves

Other related posts: