lua-users home
lua-l archive

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


Luiz Henrique de Figueiredo wrote:
> See http://lua-users.org/lists/lua-l/2010-05/msg00494.html and its thread.

I do realize that this is simple to build on top of Lua 5.2, but my
point is that *every* little script that needs it will require some
boilerplate code/declaration to provide this (without a workaround
like this, asserts become a liability wherever concatenation is needed
to create a proper message).

Extending the builtin assert, on the other hand, would make all that
boilerplate code unnecessary while adding very little
complexity/LOC/lines of documentation to Lua itself (much like 5.2's
table.pack).

--Wolfgang