Comment #1 on issue 2446 by [email protected]: try-finally should return try's completion value if finally returned normally
http://code.google.com/p/v8/issues/detail?id=2446

Note also that the letter of ES5.1 12.14 suggests that if the finally block returns non-normally, it is the result of the finally block that should be returned. So:

---
while(true) { try{ "try-value" } finally { "finally-value" ; break } }
---

... should return "finally-value". V8 and SpiderMonkey return "finally-value" here, while Opera returns "try-value".

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to