lua-users home
lua-l archive

Re: Finalizers and Lua.org demo page

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


> 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.

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