[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Table dot number?
- From: steve donovan <steve.j.donovan@...>
- Date: Fri, 28 Oct 2011 10:37:23 +0200
On Fri, Oct 28, 2011 at 10:09 AM, HyperHacker <firstname.lastname@example.org> wrote:
> Could these restrictions not be lifted?
It complicates the rules to satisfy a special case. For consistency,
could always write all such functions as
funcs['name] = function() ... end
The current rule is pretty straightforward; the t.sym = t['sym'] sugar
is not possible if sym isn't an identifier.