lua-users home
lua-l archive

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


lhf wrote:

Lua 5.0.3 is now available at

This release fixes all known bugs in 5.0.2.
Please take a look before we freeze it.

How about "not" returning a non-boolean:

Lua 5.0.3  Copyright (C) 1994-2004 Tecgraf, PUC-Rio
print(not not (nil and true))
nil

This bug is also not listed on the bugs page.  To my
knowledge, nobody ever wrote a patch for it.  (It is fixed
in 5.1.)  I just had a real quick look at src/lcode.c, but I
couldn't follow what was going on, despite Wim's and Rici's
helpful comments at <http://tinyurl.com/posjy>.

Also, don't forget to update the copyright date!

--
Aaron