You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latter is obviously much more descriptive and useful. There's two things we should be doing here:
Keeping argument indexes in the error message.
Include error messages. See luaL_argerror for how it's done by Lua, but it's not entirely clear this is correct in the presence of tailcalls - we may need some additional sanity checks.
Also worth thinking about how, if at all, we can expose this to CC.
The text was updated successfully, but these errors were encountered:
Compare Cobalt:
with PUC Lua:
The latter is obviously much more descriptive and useful. There's two things we should be doing here:
luaL_argerror
for how it's done by Lua, but it's not entirely clear this is correct in the presence of tailcalls - we may need some additional sanity checks.Also worth thinking about how, if at all, we can expose this to CC.
The text was updated successfully, but these errors were encountered: