-
Notifications
You must be signed in to change notification settings - Fork 942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Evaluation order in the LuaJIT implementation? #238
Labels
Comments
Personally, I doubt it's a good idea. |
The evaluation order is undefined. |
Thanks for clarifying! |
TurkeyMcMac
added a commit
to TurkeyMcMac/minetest
that referenced
this issue
Dec 19, 2021
sfan5
pushed a commit
to minetest/minetest
that referenced
this issue
Dec 19, 2021
rollerozxa
pushed a commit
to KetchupLand/minetest
that referenced
this issue
Dec 19, 2021
LoneWolfBT
pushed a commit
to MT-CTF/minetest
that referenced
this issue
Feb 13, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does the LuaJIT implementation have a strict evaluation order (e.g. left-to-right or right-to-left) for any of these cases?
foo(X(), Y())
.x,y = X(),Y()
.{x=X(),y=Y()}
.(I am hoping that I can rely on at least strict left-to-right evaluation of function arguments when working with LuaJIT 2.1.)
The text was updated successfully, but these errors were encountered: