lua-users home
lua-l archive

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

Hello, list!

While looking into one nasty bug (was posted here
I encountered curious error

./luajit: ../../etc/replay.lua:112: return values check failed: load 00000131
 -- return value #2 mismatch: actual `""', expected `""'
 -- return value #4 mismatch: actual `"luatexts"', expected `"luatexts"'
stack traceback:
    [C]: in function 'error'
    ./lua-nucleo/ensure.lua:329: in function 'ensure_returns'
    ../../etc/replay.lua:112: in main chunk

This happens during running the test, that reveals the bug I mentioned
above, so any kind of things may happen.  But I wonder, how can it
ever be, that two similar strings are not equal.  The test uses
standard comparator for string.  I'm not an expert in Lua, so it look
weird to me.  Any ideas are welcome.