We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Simple Lua code: print(string.format("Test%d", "NotNumber")) In Lua 5.3.3 console: bad argument #2 to 'format' (number expected, got string)
print(string.format("Test%d", "NotNumber"))
bad argument #2 to 'format' (number expected, got string)
However, in 1.80pr1, it results with: java.lang.ArrayIndexOutOfBoundsException in red.
java.lang.ArrayIndexOutOfBoundsException
That shouldn't happen as I doubt any recursion is happening in string.format, as I've seen that is a reason for it to happen in another (fixed) issue.
Please fix up the LuaJ string.format to soft error rather than throw an exception.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Simple Lua code:
print(string.format("Test%d", "NotNumber"))
In Lua 5.3.3 console:
bad argument #2 to 'format' (number expected, got string)
However, in 1.80pr1, it results with:
java.lang.ArrayIndexOutOfBoundsException
in red.That shouldn't happen as I doubt any recursion is happening in string.format, as I've seen that is a reason for it to happen in another (fixed) issue.
Please fix up the LuaJ string.format to soft error rather than throw an exception.
The text was updated successfully, but these errors were encountered: