It also happens if the try block doesn't terminate abruptly at all:
var aList = [1, 2, 3]; var loopCount = 0; var leftThroughFinally = false;
for (x in aList) { try { loopCount += 1; } finally { enteredFinally = true;
leftThroughFinally = true; continue; } leftThroughFinally = false; }
assertEquals(loopCount, 3); assertTrue(enteredFinally);
assertFalse(leftThroughFinally);


On Wed, Sep 24, 2008 at 3:23 PM, <[EMAIL PROTECTED]> wrote:

>
> Issue 86: Continuing a for-each loop in a finally clause exits the loop
> http://code.google.com/p/v8/issues/detail?id=86
>
> Comment #1 by christian.plesner.hansen:
> This also happens if the try clause breaks rather than throws.
>
>
>
>
>
> --
> You received this message because you are listed in the owner
> or CC fields of this issue, or because you starred this issue.
> You may adjust your issue notification preferences at:
> http://code.google.com/hosting/settings
>
> >
>


-- 
Lasse R.H. Nielsen
[EMAIL PROTECTED]
'Faith without judgement merely degrades the spirit divine'

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to