Weird execution stop with nested luaj function calls #109
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hey there,
I'm currently working on a library that exposes some features of a game to lua scripts.
The issue that I'm facing somehow has to do with my custom luaj library. Whenever I call a function from my library (weirdly enough not my custom
printthough), luaj just stops executing all the following lines.I already tried removing
\ns from the input string, but that sadly did not solve anything.Does anyone have an idea, what could be the problem here? LuaJ does not appear to throw any errors when it stops.
The library is assembled here: https://chonkyrabbit.eu/git/luaprocessors.git/tree/src/luaprocessors/lua/LuaExecutor.java#n151
The code gets executed here: https://chonkyrabbit.eu/git/luaprocessors.git/tree/src/luaprocessors/lua/LuaExecutor.java#n66
Just for completeness, here an example snippet:
Can anyone explain this?
Thanks!
Edit: I found a weird edge-case (which works)