Linux editor 1.9.6 (2024/12/19)
External text editor: neovim with Lua LSP.
Run with F5 (local build for Linux).
I’ve had a goto
in my script for exiting an inner loop (removed since, managed now with break
).
That was working for a few days, until this morning when i had an error message in the build windows of the editor telling me that i couldn’t use goto
with Lua 5.1 (when pressing F5, so LuaJIT should have been used).
I’ve tried to remove goto
, but even after, i was still getting the error message.
Modifications in the source file wasn’t “seen” by Defold editor.
I’m using an external text editor, but even by opening the source file in the Defold editor, i still had the same issue.
I’ve tried then differents things, Shift+Control+B for forcing a complete rebuild. I was still getting this error message. Anyway, i think build has nothing to do with debug run.
I’ve exited Defold, killed my LSP (just in case), then run again the Defold editor. Then the modifications in source file were at last taken into account. I could even put a goto
again without the Lua version error.
I know you probably don’t have answer for this, but i leave this message in case or someone else would encounter this issue. Then, we could narrow what has triggered it.