-
-
Notifications
You must be signed in to change notification settings - Fork 493
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
"Error in error handling" and Lua 5.4 deprecations #2727
Comments
hmm, i traced |
Okay, I figured something out. The culprit was this cursed function that I used to convert floats to integers: function makeint(f)
return string.format("%.0f",f)|0
end (Luckily, Lua 5.3+ has a function By running
So, my findings are:
This wasn't the only breaking change I found: After resolving this error, I stumbled upon another similar one. I'll continue my investigations, even though it is quite difficult because I can't see which line the error originated from.... |
Found another deprecation: Nothing crashes for now, but I'll continue investigations later... |
I thought that the difference between 5.3 to 5.4 was smaller. I'll see if I can fix the error handler. We could also discuss if we want to revert to 5.3. |
Has something changed in error handling? In 1.2.2997-dev pro i got this error message when running my game, but in 1.2.2883-dev pro everything works normally.
I use Lua, and the relevant code seems to be on line 98 in
ldo.c
....The text was updated successfully, but these errors were encountered: