[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [BUG] Table constructor not equivalent to left-to-right assignment (Was: Testing for a sequence ...)
- From: Robert Virding <robert.virding@...>
- Date: Sun, 22 Apr 2012 20:55:05 +0100 (BST)
----- Original Message -----
>
> On Apr 22, 2012, at 8:22 PM, Robert Virding wrote:
>
> > Without a clear deterministic definition of the language it can be
> > basically impossible to determine what your program does.
>
> You are overreaching a bit here, aren't you?
Actually no. What is the value of t[1] after:
t={'a','b','c',[1]='x'}
Maybe not good code, but perfectly legal code so I feel you should know which value t[1] has. It will probably affect your program.
However, I agree this discussion is not getting anywhere so there is no point in continuing it.
Robert