Re: shadow declarations bug back?

2016-02-12 Thread Dr. Hawkins
On Thu, Feb 11, 2016 at 5:37 PM, Dr. Hawkins  wrote:

> No, that was only one cause.  Minutes after someone suggested that, I got
> one that clearly wasn't that
>

Now this is *really* curious.

I found one of these being triggered by the same variable being declared
global a few lines apart.

Yes, that's wrong--but this is in my main script, in a major routine.  It's
been there for at least several months, and probably over a year.

And then a half dozen more similar double declarations that weren't
throwing errors, all in long-established routines.

So this may be more than one bug that gives the same incorrect error
message.  Or a bug giving the message, and another circumstance in which
the bug *is* giving that message.




-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: shadow declarations bug back?

2016-02-11 Thread Dr. Hawkins
On Thu, Feb 11, 2016 at 10:40 AM, Peter Haworth  wrote:

> I haven't seen the shadowed variable bug for a long time.  I think it was
> established that the bug occurs when execution is stopped by clicking the
> blue square icon to stop execution during a debug run.
>

No, that was only one cause.  Minutes after someone suggested that, I got
one that clearly wasn't that.


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: shadow declarations bug back?

2016-02-11 Thread Peter Haworth
You're probably right, can't remember the exact details.

On Thu, Feb 11, 2016 at 3:35 PM Ben Rubinstein  wrote:

> FWIW I think the repro case is a little tighter than that: I think it's
> when
> execution is stopped from the debugger, *with the variable inspection pane
> selected*.
>
> I won't swear to it...
>
> On 11/02/2016 18:40, Peter Haworth wrote:
> > I haven't seen the shadowed variable bug for a long time.  I think it was
> > established that the bug occurs when execution is stopped by clicking the
> > blue square icon to stop execution during a debug run. Don't know if the
> > underlying cause of that has been fixed but I try to remember to let
> debug
> > runs continue to the end these days and have not experienced the problem
> > since.
> >
> > On Thu, Feb 11, 2016 at 10:23 AM Dr. Hawkins  wrote:
> >
> >> The once common shadow-declaration bug seems to have largely gone away;
> I
> >> realized that I hadn't seen it in some time.
> >>
> >> It seems to have appeared again in 7.1.2_rc1 & rc2; are other people
> seeing
> >> it again?
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: shadow declarations bug back?

2016-02-11 Thread Ben Rubinstein
FWIW I think the repro case is a little tighter than that: I think it's when 
execution is stopped from the debugger, *with the variable inspection pane 
selected*.


I won't swear to it...

On 11/02/2016 18:40, Peter Haworth wrote:

I haven't seen the shadowed variable bug for a long time.  I think it was
established that the bug occurs when execution is stopped by clicking the
blue square icon to stop execution during a debug run. Don't know if the
underlying cause of that has been fixed but I try to remember to let debug
runs continue to the end these days and have not experienced the problem
since.

On Thu, Feb 11, 2016 at 10:23 AM Dr. Hawkins  wrote:


The once common shadow-declaration bug seems to have largely gone away; I
realized that I hadn't seen it in some time.

It seems to have appeared again in 7.1.2_rc1 & rc2; are other people seeing
it again?



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: shadow declarations bug back?

2016-02-11 Thread Peter Haworth
I haven't seen the shadowed variable bug for a long time.  I think it was
established that the bug occurs when execution is stopped by clicking the
blue square icon to stop execution during a debug run. Don't know if the
underlying cause of that has been fixed but I try to remember to let debug
runs continue to the end these days and have not experienced the problem
since.

On Thu, Feb 11, 2016 at 10:23 AM Dr. Hawkins  wrote:

> The once common shadow-declaration bug seems to have largely gone away; I
> realized that I hadn't seen it in some time.
>
> It seems to have appeared again in 7.1.2_rc1 & rc2; are other people seeing
> it again?
>
>
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


shadow declarations bug back?

2016-02-11 Thread Dr. Hawkins
The once common shadow-declaration bug seems to have largely gone away; I
realized that I hadn't seen it in some time.

It seems to have appeared again in 7.1.2_rc1 & rc2; are other people seeing
it again?


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode