Possible bug in "for each" construct
lhansen at adobe.com
Mon Jun 9 08:24:29 PDT 2008
I recently (June 5) fixed a bunch of bugs in ESC wrt for-in and
for-each, so if you compiler is older than that then you should update
from the repository, but I'll take a look at your test cases too.
From: Aaron Gray [mailto:aaronngray.lists at googlemail.com]
Sent: 9. juni 2008 15:52
To: Lars Hansen; tamarin-devel at mozilla.org
Subject: Re: Possible bug in "for each" construct
Its on the esc compiler, did not know there is an asc one.
Basically using 'var' or 'let' in a 'for each' statement causes
the error :-
TypeError: Error #1009: Cannot access a property or method
of a null object reference.
Sorry I am new to the group and dont seem to be on the list
properly, just getting picked up on list bounces.
----- Original Message -----
From: Lars Hansen <mailto:lhansen at adobe.com>
To: Aaron Gray <mailto:aaronngray.lists at googlemail.com>
; tamarin-devel at mozilla.org
Sent: Monday, June 09, 2008 10:03 AM
Subject: RE: Possible bug in "for each" construct
In cases like these it would be helpful if you would
describe which compiler you are using (ASC or ESC) and summarize
expected and actual behavior of the program, as that makes it simpler to
provide you with an answer.
From: tamarin-devel-bounces at mozilla.org
[mailto:tamarin-devel-bounces at mozilla.org] On Behalf Of Aaron Gray
Sent: 8. juni 2008 18:01
To: tamarin-devel at mozilla.org
Subject: Possible bug in "for each" construct
I am not certain but I believe I may have found
a bug in Tamarin's "for each" construct.
I have whittled it down to the following :-
Here's a working example as a script :-
I am hoping its not a bug and I am doing
something silly but I cannot see what.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tamarin-devel