i updated the engine to 1.9.1, and now my game won’t compile because i was using features that aren’t in the (now) packaged lua version.
Lua 5.1 does not support this grammar.(Supported in Lua 5.2/Lua 5.3/Lua 5.4/LuaJIT, current is Lua 5.1.)
i updated the engine to 1.9.1, and now my game won’t compile because i was using features that aren’t in the (now) packaged lua version.
Lua 5.1 does not support this grammar.(Supported in Lua 5.2/Lua 5.3/Lua 5.4/LuaJIT, current is Lua 5.1.)
We have no way to change the Lua version. LuaJIT is our main library, and it’s Lua 5.1 compatible (while it does have a tiny amount of newer features)
well in such a case it’s an undocumented breaking change
I don’t think it’s undocumented:
However, it’s unfortunate that we previously haven’t been able to verify builds more correctly as we do now. We do consider this a bug fix after all (i.e. to correctly point out the code issue)
i mean between the release notes of 1.8.1 and 1.9.1 there’s no mention of a change in lua version
Yeah, we haven’t changed version?
We’ve added more linting tools that help highlight issues.
then why doesn’t my code compile in 1.9.1?
Do you know more specifically what in your code isn’t working? Any particular keyword or construct?
As I mentioned above, the linting tools have been added to highlight compatibility issues.
You can try disabling it in the preferences:
goto, a cheifly >=5.2/JIT thing
ok. This makes it compile.
Thank you.