Re: Invalid behaviour of luaL_argerror/err_argmsg

  • From: Mike Pall <mike-1502@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Tue, 3 Feb 2015 15:18:04 +0100

Roman Tsisyk wrote:
> > loadstring('return io.open()')()
> stdin:1: bad argument #1 to '?' (string expected, got no value)  <!-- 
> function name is not detected properly

Expected behavior.

//www.freelists.org/post/luajit/Bad-stack-trace-from-lua-getstack-and-lua-getinfo,1

--Mike

Other related posts: