[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Any pitfalls to the nil index idiom?
- From: Dirk Laurie <dirk.laurie@...>
- Date: Tue, 19 Jul 2016 23:39:00 +0200
2016-07-19 23:16 GMT+02:00 nobody <nobody+lua-list@afra-berlin.de>:
> On 2016-07-19 21:41, Dirk Laurie wrote:
>> whereas that of the identity function is
>> 1 [1] RETURN 0 2
>> 2 [1] RETURN 0 1
>
> (Shouldn't the identify function be this?
> 1 [1] VARARG 0 0
> 2 [1] RETURN 0 0
> 3 [1] RETURN 0 1
> (a.k.a. function(...)return...end a.k.a. load"return...")
I quoted actual code for "function(x) return x end".