commit | 46beca5bed8a7700b18100fe48a78373be5055f9 | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Mon Dec 10 13:46:03 2018 -0200 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Mon Dec 10 13:46:03 2018 -0200 |
tree | 499de35c048605434d9adb7ace964adf673041ac | |
parent | 28d829c86712ce5bc453feccc5129a32f78d80c0 [diff] |
Better error messages for some polymorphic functions New auxiliary functions/macros 'luaL_argexpected'/'luaL_typeerror' ease the creation of error messages such as bad argument #2 to 'setmetatable' (nil or table expected, got boolean) (The novelty being the "got boolean" part...)