Re: __index returns truncated to one, why?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: __index returns truncated to one, why?
- From: Andrew Starks <andrew.starks@...>
- Date: 2014年4月10日 02:51:39 -0700
On Thu, Apr 10, 2014 at 12:45 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> 2014年04月10日 9:06 GMT+02:00 duz <duz@sol-3.de>:
>
>> Please do not truncate the results returned from __index to 1!
>
> I'll support that, for now, until somone demonstrates the unpleasant
> side effects this might have.
>
local a, b, c = t[1]
...becoming a common idiom is reason enough for me.
-Andrew