lua-users home
lua-l archive

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


I started this with a why question.

I think the basic answer seems to be so that:

     local _, _, val = expression

works without needing a special case.

I can buy that.

It may be useful, however, to lint for redefinitions within a scope other
than for "_" since most other cases are probably either errors or just as
well handled by introducing a nested scope.

Mark