lua-users home
lua-l archive

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


On Wed, 5 Jun 2019 at 15:47, Matthew Wild <mwild1@gmail.com> wrote:
>
> On Wed, 5 Jun 2019 at 15:42, Dibyendu Majumdar <mobile@majumdar.org.uk> wrote:
> > But if you say:
> >
> > local resource x = 0
> >
> > Then x is a variable, and resource is a qualifier.
> >
> > Does that make sense?
>
> No, because that's a valid statement in Lua 5.3 that means something
> different. So my point stands: this proposal is a
> backwards-incompatible change that affects existing code.
>

How is it a valid statement?

local resource x = 0

is invalid in Lua.