[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luaproc thought
- From: Mark Hamburg <mark@...>
- Date: Wed, 30 Sep 2009 07:40:03 -0700
There are already have ways to detect global variable accesses at
compile time, so the chunk construct gets you both syntax checking and
inadvertent upvalue detection (since the upvalues turn into globals).
We use the runtime absence of upvalue checks in Lightroom, but the
point was to have a construct that could generate warnings at compile
time.
The notion of simply having an option to turn off upvalues is
intriguing.
Mark