lua-users home
lua-l archive

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

On Fri, Apr 20, 2012 at 08:23, Roberto Ierusalimschy
<> wrote:
>> I think you have discovered a bug.  §3.4.8 of the manual states clearly,
>> by way of an example, that a table constructor is equivalent to assignment
>> of the entries from left to right.
> An example is not part of the specification. (That is why we avoid
> examples in the manual; it is easy to extrapolate what they intend to
> exemplify.  But then people complain that the manual is too dry...)

In that case the manual should not be using the wording "is equivalent
to" (paragraph 3.4.8) leading to the example.
Manual is very specific here, albeit incorrect.