-
-
Notifications
You must be signed in to change notification settings - Fork 496
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" #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. |
I reverted to Lua 5.3, a lot of complaints. |
Note: Reverting to Lua 5.3 did not fix the error handling, it still only prints "error in error handling" in the current build 3002. I built the TIC-80 executable with the following options:
As Lua 5.4 deprecations aren't an issue anymore, I updated the issue title accordingly. |
Hmm, it's strange, maybe try to rebuild, or add |
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: