[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Finalizers and Lua.org demo page
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 22 Jul 2017 19:18:46 -0300
> After examining the source of the demo I've found another bug.
> The following absolutely correct and innocuous program gets aborted:
>
> tostring = nil
> return nil
It's no different than what happens in the command line:
% lua
Lua 5.3.4 Copyright (C) 1994-2017 Lua.org, PUC-Rio
> tostring = nil
> return nil
error calling 'print' (attempt to call a nil value)
But the error message in the demo might be improved.
Thanks for the report.