finding shadowed globals when strict compilation is on
Dr. Hawkins
dochawk at gmail.com
Sat Apr 20 21:25:38 EDT 2013
On Sat, Apr 20, 2013 at 5:55 PM, Peter Haworth <pete at lcsql.com> wrote:
> Maybe try the "other FInd dialog (on the Edit menu).
Wow. OK, so that one could find it. And the 1 instance was in a comment . . .
> Also, are you sure a global is the problem? There's a bug
> in strict compilation mode where a local variable in a script will
> sometimes be flagged as shadowing another local variable, even though it
> doesn't. Only way to get round it is save, quite and run again.
It seems to be shadowing itself, when the debugger is run multiple
times . . . and that's the only workaround I've found, too.
--
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
More information about the use-livecode
mailing list