Open fperrad opened 3 years ago
note: with beta4 & 5, you must toggle nocvts2n
in profile_ravi.lua
see https://framagit.org/fperrad/lua-Harness/-/blob/master/test_lua/profile_ravi.lua#L34
@fperrad Thank you for the report. I will have a look. Ravi is kind of in-between 5.3 and 5.4 right now - so this is probably the result of that.
It seems I had missed a change. However the error is still not 100% same as Lua 5.4
the test suite lua-Harness detects many failures with 1.0-beta4 (and 1.0-beta5).
for example with the conversion string to number.
currently,
ravi
givesbut 1.0-beta3 behaves like Lua 5.3
note: with specific compilation (
LUA_NOCVTS2N
), Lua 5.3 could giveLua 5.4 throws another kind of error
Lua 5.3 (and 5.4) throws the error
number has no integer representation
only with this kind of code (float -> integer)beta3 works Lua 5.3, beta4 tries to follow Lua 5.4, but doesn't succeed.