No error message is printed when a pair or a triple contains an invalid value. Instead the Lua code fails later because data is missing, producing an incomprehensible error message from Lua. With this fix, invalid values in pairs, triples and -k are all reported in the same way, and to avoid Lua errors, the code that requires complete data isn't executed if there have already been errors.
No error message is printed when a pair or a triple contains an invalid value. Instead the Lua code fails later because data is missing, producing an incomprehensible error message from Lua. With this fix, invalid values in pairs, triples and -k are all reported in the same way, and to avoid Lua errors, the code that requires complete data isn't executed if there have already been errors.