[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Bug in Lua 5.3 manual (pcall).
- From: Lorenzo Donati <lorenzodonatibz@...>
- Date: Tue, 19 May 2020 12:18:07 +0200
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