https://codereview.chromium.org/15288011/diff/2001/test/mjsunit/harmony/iteration-semantics.js
File test/mjsunit/harmony/iteration-semantics.js (right):
https://codereview.chromium.org/15288011/diff/2001/test/mjsunit/harmony/iteration-semantics.js#newcode33
test/mjsunit/harmony/iteration-semantics.js:33:
On 2013/06/06 17:10:06, wingo wrote:
> - interaction with exceptions
Not sure what you mean here. Errors do seem to be thrown correctly
and the
program continues as it should. Do you mean a catch in a loop?
Yes, some combinations of cases where an exception is thrown from
different places inside the loop or the iterator/generator, and
caught/not caught inside/outside the loop.
Surely if getters work, then proxies will work, right?
Oh, if only that was true... ;) Unfortunately, they could not be any
more different, and proxies tend to need annoying special casing all
over the place.
Since iterators make non-trivial use of objects it would be great if you
could add tests for some proxy cases (preferably in a separate file).
But I'm fine with deferring that to a separate CL.
https://codereview.chromium.org/15288011/
--
--
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.