lua-users home
lua-l archive

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

>    local function bar(x)@(_ENV,bar)
>      return snafu(x * foo(3,2)
>    end
> and you get an error because snafu is not declared for bar(), and you are
> now pointlessly including a local no longer needed.

I don't expect anyone would be required to use the new syntax.  If you didn't care about what was being accessed you wouldn't use the syntax.  If you did care you would want the error.