lua-users home
lua-l archive

Re: Less helpful error message in Lua 5.3.2

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


> $ /usr/local/src/lua-5.3.1/src/lua
> Lua 5.3.1 Copyright (C) 1994-2015 Lua.org, PUC-Rio
> > table.insert(" ","a")
> stdin:1: bad argument #1 to 'insert' (table expected, got string)
> 
> $ lua
> Lua 5.3.2 Copyright (C) 1994-2015 Lua.org, PUC-Rio
> > table.insert(" ","a")
> stdin:1: bad argument #1 to 'insert' (table expected)
> 
> Can't we get the old message back?
Sure.
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /