lua-users home
lua-l archive

Re: [PATCH] setmetatable({}) causes error

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


On Thu, Jul 13, 2017 at 4:22 PM, Nathaniel Musgrove
<proton.zero@gmail.com> wrote:
> The difference is that those are degenerate scenarios. There is no reason that
> anyone would ever actually write those function calls, because the outcome is
> easily predicted, and more importantly useless.
Well, except that you might do something like tostring(myfunction())
where myfunction() usually returns one value but sometimes returns no
values.
-Duncan

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