lua-users home
lua-l archive

Bug in Lua 5.3 manual (pcall).

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi Lua team!
I noticed that function pcall in Lua 5.3.5 refman ends by saying:
"... In case of any error, pcall returns false plus the error *message.*"
Whereas it should say
" ... In case of any error, pcall returns false plus the error *object.*"
because pcall actually returns an error object in Lua 5.3.
This has been corrected in Lua 5.4.0 rc3 manual, but I report it anyway in case a last release on 5.3 branch is planned (it doesn't appear as a bug in the Lua site bug page for 5.3.5).
-- Lorenzo

AltStyle によって変換されたページ (->オリジナル) /