lua-users home
lua-l archive

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


Hello Lua Hackers,

2011年1月26日 09:18:59 UTC+9 Ryota Hirose <hirose.ryota@gmail.com>:
I fixed the patch to clear these cases.  Is it enough test case for this problem?

I'm sorry, but my patch is not correct.  It failed following case which passed by original Lua.

assert((((true or false) and false) and true) == false)

I made a test case generator for 3 operators and 4 operands.
Of course, Sean's patch can pass all cases.

Ryota Hirose

Attachment: logoptest_gen.lua
Description: Binary data